summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* _Really_, _Really_ fix buildworld by moving the conditionals down, fixing somengie2015-05-211-10/+10
| | | | | | | | | | | | | | | | typos, and fixing the dependency when MK_LIBCPLUSPLUS != no - `:D` operator evaluation is immediate, i.e. like .if defined(..). So r283159 was in effect a no-op commit. - Fix dependency in MK_LIBCPLUSPLUS case in two ways: -- lib/libc++ was the wrong dependency. It should have been libcxxrt. -- lib/libc++ was missing __L, so again it was depending on the directory, not the relevant .PHONY target. Tested with: make tinderbox (amd64, arm, sparc64) and JFLAG=-j16 In collaboration with: bdrewery, imp, peter BIG pointyhat to: ngie (for trying to commit things at 6am while staying up all night working on other tasks)
* Make kerberos use the same sqlite libraries as other sqlite consumer.bapt2015-05-201-4/+4
| | | | | | | | This reduces the number of copy of sqlite we have to just one and easier tracking version of sqlite Differential Revision: https://reviews.freebsd.org/D2443 Reviewed by: imp, stas, bjk
* Fix breakage I didn't fully solve in r283151 by depending on the .PHONYngie2015-05-201-1/+1
| | | | | | | target, not the directory when building libctf for libproc Reported by: many, Jenkins Submitted by: rodrigc
* Unbreak the arm64/sparc64 tinderbox by only compiling lib/libproc andngie2015-05-201-2/+7
| | | | | | | lib/librtld_db on architectures where they're supported Reported by: bz, Jenkins Pointyhat to: bapt
* cddl/lib/libctf isn't always a requirement for lib/libproc; its use is dependentngie2015-05-201-1/+1
| | | | on MK_CTF != "no". Use the other divined value instead of reinventing the wheel
* Add _more_ missing dependencies for lib/libproc to further squash build racesngie2015-05-201-1/+9
| | | | | | Verified via `cd lib/libproc; make -VLIBADD` Pointyhat to: ngie
* Articulate all dependencies for lib/libproc to squash build races after r283139ngie2015-05-201-0/+2
| | | | | | | on !arm64 and !sparc64 Pointyhat to: bapt Sponsored by: EMC / Isilon Storage Division
* Only build sys/boot/usb/tools if MK_USB != nongie2015-05-201-1/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Fix buildworld by adding libproc and librtld_db to the _prebuild_libsbapt2015-05-201-0/+2
| | | | Those are needed to build libdtrace
* Update crunch bootstrapping test for recent fixesemaste2015-05-191-6/+3
| | | | | | | | | | | | - r277259 crunchide: Correct 64-bit section header offset - r281674 crunchide: always include both 32- and 64-bit ELF support With built-in cross-size support we also no longer need a special case for cross-build crunchide. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2576
* Remove redundant csu subdir logicemaste2015-05-121-7/+1
| | | | | | | | | The appropriate subdirectories are handled by lib/csu/Makefile. There's no need to duplicate this logic in Makefile.inc1 and lib/Makefile. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2523
* Unbreak build following rev. 282726thomas2015-05-101-0/+3
| | | | | | | | | | | | | | (Makefile.inc1): add dependency of xinstall on libmd to avoid failure of parallel bootstrap. (lib/libmd/*.h): do not redefine symbols if already defined as macros (libcrypt uses the same sources internally, redefining symbols with a prefix of its own). Fixes build failures caused by previous change to libmd. Reported by: ian Pointy hat to: thomas
* Replace groff's soelim by soeliminate(1) renamed soelim(1)bapt2015-05-011-1/+2
|
* Setting PATH to anything is useless as a bare command. Its only relevantsbruno2015-04-301-2/+2
| | | | | | | | | if its set in the environement of each command seperately. Move the PATH setting to the NXBMAKE variable so its picked up to find the one-off gperf build for the native-xtools target. Pointed Out by: ngie
* Fix native-xtools breakage when building a gcc enabled target on a clangsbruno2015-04-301-0/+15
| | | | | | | | enabled host. Build a one-off gperf and put it in the PATH for the rest of the target so the ONE call to gperf by the gcc build picks it up and DTRT. Reviewed by: imp
* Serialize all of _kerberos5_bootstrap_tools to avoid build failures involvingngie2015-04-211-7/+1
| | | | | | | | | | make bootstrap-tools On the plus side, this also greatly reduces complexity MFC after: 1 week Pointyhat to: ngie Reported by: Willem Jan Withagen <wjw@digiware.nl>
* Bump crunch BOOTSTRAPPING for ELF header offset fix in r277557emaste2015-04-171-4/+4
|
* RELEASEDIR was removed in FreeBSD 9.x, at the same time /boot/loaderimp2015-04-171-5/+1
| | | | | | | | stopped using kgzip in the release process. We no longer need to build kgzip as a cross tool, and tests for RELEASEDIR are obsolete, so remove both. Differential Revision: https://reviews.freebsd.org/D2313
* Defeat race with MK_KERBEROS == yes introduced with bootstrap-toolsngie2015-04-161-2/+7
| | | | | | | | | | | | | | parallelization work done in r279197 - kerberos5/lib/libroken requires kerberos5/tools/make-roken to build - kerberos5/tools/asn1_compile, kerberos5/tools/slc, and usr.bin/compile_et require kerberos5/lib/libroken and kerberos5/lib/libvers This race is incredibly evident when cross-building sparc64 on ref10-amd64.freebsd.org MFC after: 1 week Pointyhat to: ngie
* People are still getting burned by the byacc upgraded, switch toimp2015-04-161-2/+0
| | | | | always doing byacc until someone figures out the more nuanced version to switch off of.
* Only use the CROSS_BINUTILS_PREFIX tool if it exists.andrew2015-04-021-1/+2
| | | | | Reviewed by: emaste Sponsored by: The FreeBSD Foundation
* Ensure the cross assembler, linker and objcopy are used for the build32dim2015-04-021-3/+5
| | | | | | | | stage, just like for the regular world stage. Reviewed by: rodrigc, imp, bapt, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D2187
* Add --sysroot to the compiler flags for clang or gcc external toolchainsrodrigc2015-03-261-1/+1
| | | | | | | Before this fix, --sysroot was only added to the compiler flags if a clang external toolchain was used. Reviewed by: imp
* Add some more explanation to the different phases of the build.imp2015-03-251-5/+14
|
* Force MK_INCLUDES for the legacy stageemaste2015-03-251-1/+2
| | | | | | | | | | As legacy executes "make installincludes" we don't want it to be disabled by a src.conf setting. Reviewed by: imp MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2143
* Start to import support for the AArch64 architecture from ARM. This changeandrew2015-03-191-1/+1
| | | | | | | | | | | | | | | | | only adds support for kernel-toolchain, however it is expected further changes to add kernel and userland support will be committed as they are reviewed. As our copy of binutils is too old the devel/aarch64-binutils port needs to be installed to pull in a linker. To build either TARGET needs to be set to arm64, or TARGET_ARCH set to aarch64. The latter is set so uname -p will return aarch64 as existing third party software expects this. Differential Revision: https://reviews.freebsd.org/D2005 Relnotes: Yes Sponsored by: The FreeBSD Foundation
* When cross-building with an external toolchain we still need a target stripemaste2015-03-171-0/+5
| | | | It is used by at least crunchide(1).
* Add LIB_CXX so that C++ libraries will use CXX to link.bdrewery2015-03-171-0/+4
| | | | | | | | | | | | | | | | | This fixes C++ libraries not implicitly linking in libc++. This is generally not an issue because the final linking with the compiled binary will involve CXX via PROG_CXX or other means. It is however inconsistent with libraries implicitly linking in libc and problematic for trying to build libraries with '-z defs' to ensure all direct dependencies are linked in. libatf-c++ is currently the only consumer of this new feature. Differential Revision: https://reviews.freebsd.org/D2039 Reviewed by: imp Discussed with: bapt MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Provide automatic cross-binutils path if no BINUTILS_BOOTSTRAPemaste2015-03-121-0/+13
| | | | | | | | | | The in-tree binutils does not support arm64, so will not work for the forthcoming FreeBSD arm64 port. BROKEN_OPTIONS will include BINUTILS_BOOTSTRAP, so provide a default CROSS_BINUTILS_PREFIX for this case. Reviewed by: imp Sponsored by: The FreeBSD Foundation
* It appears that xlint isn't used in the build process, so it certainlyimp2015-03-121-1/+0
| | | | doesn't need to be a build tool.
* Support CROSS_BINUTILS_PREFIX with in-tree compileremaste2015-02-261-0/+6
| | | | | | Reviewed by: bapt, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1974
* Fill in missing dependencies for dtrace related tools so the bootstrap-toolsngie2015-02-231-0/+3
| | | | | | | | compiles properly on older hosts Pointyhat to: me X-MFC with: r279197 MFC after: 2 weeks
* Parallelize building bootstrap-toolsngie2015-02-231-1/+19
| | | | | | | Differential Revision: https://reviews.freebsd.org/D1901 MFC after: 2 weeks Reviewed by: ian No serious objections from: imp
* Fix bootstrap on systems with old yacc with small MAXTABLE.jkim2015-02-181-5/+5
|
* Restore the ability to use clang as an external compiler. This wasgrehan2015-02-181-3/+4
| | | | | | | | | inadvertently removed when support for external GCC was added. Deprecate XFLAGS in favour of the newer XCFLAGS/XCXXFLAGS. Tested with: make universe, make CROSS_COMPILER_PREFIX=/usr/bin/ buildworld Reviewed by: imp, bapt
* release: use xz via pipe when compressing the tarballs.rpaulo2015-02-171-15/+17
| | | | | | | | | | | | | | libarchive(3) doesn't support the new liblzma API yet, but this change allows us to enable multi-threaded xz compression. ``make release'' should now finish in half the time on a machine with several cores and fast disks (our typical build server). This behaviour only applies when building a release and it doesn't affect buildworld/installworld. To disable threaded xz compression, set XZ_THREADS=1. Reviewed by: gjb Tested by: gjb
* Fix a typo when invoking tar(1) to create the debug distributions.rpaulo2015-02-161-1/+1
|
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;cperciva2015-02-121-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | update paths; and include everything in the "base" distribution. The "games" distribution being optional made sense when there were more games and we had small disks; but the "games-like" games were moved into the ports tree a dozen years ago and the remaining "utility-like" games occupy less than 0.001% of my laptop's small hard drive. Meanwhile every new user is confronted by the question "do you want games installed" when they they try to install FreeBSD. The next steps will be: 2. Removing punch card (bcd, ppt), phase-of-moon (pom), clock (grdc), and caesar cipher (caesar, rot13) utilities. I intend to keep fortune, factor, morse, number, primes, and random, since there is evidence that those are still being used. 3. Merging src/games into src/usr.bin. This change will not be MFCed. Reviewed by: jmg Discussed at: EuroBSDCon Approved by: gjb (release-affecting changes)
* Remove remnant from texinfobapt2015-02-111-5/+1
|
* Exclude 'tests' from DEBUG_DISTRIBUTIONS.gjb2015-02-101-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* Merge xz 5.2.0.rpaulo2015-02-091-0/+1
| | | | | | | | | | | | | This brings support for multi-threaded compression. This brings close N times faster compression where N is the number of CPU cores. Because of this, liblzma now depends on libthr. Soon libarchive will be modified to use the new lzma API. Thanks to antoine@ for the exp-run. Differential Revision: https://reviews.freebsd.org/D1786 Reviewed by: bapt
* Conditionalize building radius support into libpam, ppp, etc viangie2015-02-041-1/+5
| | | | | | | MK_RADIUS_SUPPORT MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Restore addr2line to cross toolsemaste2015-01-231-0/+3
| | | | | | | | | | | Addr2line is not required for the build, and a per-arch binary is no longer required with the switch to the ELF Tool Chain. However, building these tools during the cross tools stage can be useful for developers who cross build HEAD from stable/10, and adds very little to the build time. Reviewed by: ian, imp Differential Revision: https://reviews.freebsd.org/D1583
* Fix bootstrap on systems with old libdwarf and WITHOUT_CDDLemaste2015-01-211-4/+9
| | | | | | | | ELF Tool Chain tools need libelf and libdwarf. Submitted by: jmallett (earlier version) Reviewed by: jmallett Sponsored by: The FreeBSD Foundation
* Remove addr2line from cross elftoolchain tools listemaste2015-01-211-1/+0
| | | | | | | It is not required, and there is no reason to install it just because it came with the binutils cross tools. Sponsored by: The FreeBSD Foundation
* Remove GNU texinfo from base along with all info pages.bapt2015-01-021-24/+6
| | | | | | | | | To be able to info pages consider installing texinfo from ports print/texinfo or via pkg: pkg install texinfo Differential Revision: https://reviews.freebsd.org/D1409 Reviewed by: emaste, imp (previous version) Relnotes: yes
* Use BINUTILS_BOOTSTRAP knob for binutils onlyemaste2014-12-301-1/+3
| | | | | | | | | Previously it also disabled building elftoolchain bootstrap tools such as strip(1). Differential Revision: https://reviews.freebsd.org/D1398 Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Update the text for building texinfo with build-tools to reflect the factngie2014-12-221-1/+1
| | | | | | | that make install is being called as well MFC after: 1 week X-MFC with: r276052
* Build selective portions of gnu/usr.bin/texinfo as part of build-tools tongie2014-12-221-0/+15
| | | | | | | | | | | | | | | | | | | | ensure that building on a host without makeinfo (i.e. a host where make delete-old -DWITHOUT_INFO was run), then building with MK_INFO == yes doesn't manifest in build errors when building info pages This manifested itself like the following when I was build testing an MFC change on stable/10: makeinfo --no-split -I /usr/src/gnu/lib/libregex/doc -I /usr/src/gnu/lib/libregex/doc regex.texi -o regex.info makeinfo: not found *** [regex.info] Error code 127 make[6]: stopped in /usr/src/gnu/lib/libregex/doc 1 error Tested on a head VM without makeinfo installed and by building with MK_INFO=yes MFC after: 1 week
* Fix accidental MK_DEBUG_FILES=no addition to NXBMAKE in r275909ngie2014-12-181-1/+1
| | | | | X-MFC with: r275909 Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud