aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* Replace groff's soelim by soeliminate(1) renamed soelim(1)Baptiste Daroussin2015-05-011-1/+2
| | | | Notes: svn path=/head/; revision=282318
* Setting PATH to anything is useless as a bare command. Its only relevantSean Bruno2015-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 Notes: svn path=/head/; revision=282265
* Fix native-xtools breakage when building a gcc enabled target on a clangSean Bruno2015-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 Notes: svn path=/head/; revision=282260
* Serialize all of _kerberos5_bootstrap_tools to avoid build failures involvingEnji Cooper2015-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> Notes: svn path=/head/; revision=281823
* Bump crunch BOOTSTRAPPING for ELF header offset fix in r277557Ed Maste2015-04-171-4/+4
| | | | Notes: svn path=/head/; revision=281659
* RELEASEDIR was removed in FreeBSD 9.x, at the same time /boot/loaderWarner Losh2015-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 Notes: svn path=/head/; revision=281658
* Defeat race with MK_KERBEROS == yes introduced with bootstrap-toolsEnji Cooper2015-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 Notes: svn path=/head/; revision=281618
* People are still getting burned by the byacc upgraded, switch toWarner Losh2015-04-161-2/+0
| | | | | | | | always doing byacc until someone figures out the more nuanced version to switch off of. Notes: svn path=/head/; revision=281615
* Only use the CROSS_BINUTILS_PREFIX tool if it exists.Andrew Turner2015-04-021-1/+2
| | | | | | | | Reviewed by: emaste Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=280992
* Ensure the cross assembler, linker and objcopy are used for the build32Dimitry Andric2015-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 Notes: svn path=/head/; revision=280980
* Add --sysroot to the compiler flags for clang or gcc external toolchainsCraig Rodrigues2015-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 Notes: svn path=/head/; revision=280719
* Add some more explanation to the different phases of the build.Warner Losh2015-03-251-5/+14
| | | | Notes: svn path=/head/; revision=280639
* Force MK_INCLUDES for the legacy stageEd Maste2015-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 Notes: svn path=/head/; revision=280631
* Start to import support for the AArch64 architecture from ARM. This changeAndrew Turner2015-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 Notes: svn path=/head/; revision=280259
* When cross-building with an external toolchain we still need a target stripEd Maste2015-03-171-0/+5
| | | | | | | It is used by at least crunchide(1). Notes: svn path=/head/; revision=280190
* Add LIB_CXX so that C++ libraries will use CXX to link.Bryan Drewery2015-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 Notes: svn path=/head/; revision=280179
* Provide automatic cross-binutils path if no BINUTILS_BOOTSTRAPEd Maste2015-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 Notes: svn path=/head/; revision=279908
* It appears that xlint isn't used in the build process, so it certainlyWarner Losh2015-03-121-1/+0
| | | | | | | doesn't need to be a build tool. Notes: svn path=/head/; revision=279905
* Support CROSS_BINUTILS_PREFIX with in-tree compilerEd Maste2015-02-261-0/+6
| | | | | | | | | Reviewed by: bapt, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1974 Notes: svn path=/head/; revision=279328
* Fill in missing dependencies for dtrace related tools so the bootstrap-toolsEnji Cooper2015-02-231-0/+3
| | | | | | | | | | | compiles properly on older hosts Pointyhat to: me X-MFC with: r279197 MFC after: 2 weeks Notes: svn path=/head/; revision=279198
* Parallelize building bootstrap-toolsEnji Cooper2015-02-231-1/+19
| | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D1901 MFC after: 2 weeks Reviewed by: ian No serious objections from: imp Notes: svn path=/head/; revision=279197
* Fix bootstrap on systems with old yacc with small MAXTABLE.Jung-uk Kim2015-02-181-5/+5
| | | | Notes: svn path=/head/; revision=278975
* Restore the ability to use clang as an external compiler. This wasPeter Grehan2015-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 Notes: svn path=/head/; revision=278965
* release: use xz via pipe when compressing the tarballs.Rui Paulo2015-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 Notes: svn path=/head/; revision=278926
* Fix a typo when invoking tar(1) to create the debug distributions.Rui Paulo2015-02-161-1/+1
| | | | Notes: svn path=/head/; revision=278873
* Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin;Colin Percival2015-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) Notes: svn path=/head/; revision=278616
* Remove remnant from texinfoBaptiste Daroussin2015-02-111-5/+1
| | | | Notes: svn path=/head/; revision=278565
* Exclude 'tests' from DEBUG_DISTRIBUTIONS.Glen Barber2015-02-101-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=278486
* Merge xz 5.2.0.Rui Paulo2015-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 Notes: svn path=/head/; revision=278433
* Conditionalize building radius support into libpam, ppp, etc viaEnji Cooper2015-02-041-1/+5
| | | | | | | | | | MK_RADIUS_SUPPORT MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=278182
* Restore addr2line to cross toolsEd Maste2015-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 Notes: svn path=/head/; revision=277612
* Fix bootstrap on systems with old libdwarf and WITHOUT_CDDLEd Maste2015-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 Notes: svn path=/head/; revision=277517
* Remove addr2line from cross elftoolchain tools listEd Maste2015-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 Notes: svn path=/head/; revision=277497
* Remove GNU texinfo from base along with all info pages.Baptiste Daroussin2015-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 Notes: svn path=/head/; revision=276551
* Use BINUTILS_BOOTSTRAP knob for binutils onlyEd Maste2014-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 Notes: svn path=/head/; revision=276414
* Update the text for building texinfo with build-tools to reflect the factEnji Cooper2014-12-221-1/+1
| | | | | | | | | | that make install is being called as well MFC after: 1 week X-MFC with: r276052 Notes: svn path=/head/; revision=276053
* Build selective portions of gnu/usr.bin/texinfo as part of build-tools toEnji Cooper2014-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 Notes: svn path=/head/; revision=276052
* Fix accidental MK_DEBUG_FILES=no addition to NXBMAKE in r275909Enji Cooper2014-12-181-1/+1
| | | | | | | | X-MFC with: r275909 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=275910
* Don't build full clang toolchain or clang extras in stages 1-3 of buildworldEnji Cooper2014-12-181-3/+7
| | | | | | | | | | MFC after: 1 week Reviewed by: dim (as part of a "larger" diff) Phabric: D1336 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=275909
* Fix building/installing tests when TESTSBASE != /usr/testsEnji Cooper2014-12-181-3/+6
| | | | | | | | | | | | | | | | | | | | The work in r258233 hardcoded the assumption that tests was the last component of the tests tree by pushing tests as an explicit prefix for the paths in BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all of the mtree calls used in Makefile.inc1. This assumption breaks if/when one provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests . One thing that r258233 did properly though was remove "/usr/tests" creation from BSD.usr.dist -- that should have not been there in the first place. That was an "oops" on my part for the work that was originally committed in r241823 MFC after: 2 weeks Phabric: D1301 Reviewed by: imp Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=275907
* Fix sporadic build failures due to race when running make installworldEnji Cooper2014-12-171-1/+1
| | | | | | | | | | | | | | | | | | when strip gets replaced at install time by adding it to ITOOLS for the default usr.bin/xinstall STRIP_CMD This will fix the failure noted in this Jenkins build step: https://jenkins.freebsd.org/job/Build-UFS-image/688/ This will also fix the issue reported by alfred@ dealing with installing on targets that differ from build hosts (e.g. installing on i386/i386 when built on amd64/amd64) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=275867
* Add an UPDATING entry and warning about the change in r274807 to help usersBrooks Davis2014-12-161-0/+2
| | | | | | | | | | transition to the new behavior. Discussed with: jmallett Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=275839
* Add makewhatis to ITOOLS if MK_MAN != noEnji Cooper2014-12-081-0/+5
| | | | | | | | | | | | This will fix installation with differing host targets in installworld, so one can build i386/i386 on an amd64 host, then install to an i386/i386 target Reported by: alfred Phabric: D1280 MFC after: 1 week Notes: svn path=/head/; revision=275622
* Build gperf with xdev as part of _xb-bootstrap-toolsEnji Cooper2014-12-081-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will unbreak the build when "env MK_CXX=no make delete-old" has been run on the build host post-r272849 Tested with the following commands: /bin/sh export __MAKE_CONF=/dev/null SRCCONF=/dev/null export MK_CLANG=no MK_CLANG_BOOTSTRAP=no MK_GCC=yes MK_GCC_BOOTSTRAP=yes export MK_GNUCXX=yes TARGET=armv6 TARGET_ARCH=arm make xdev make toolchain make xdev-build sudo -E make xdev-install /usr/armv6-freebsd/usr/bin/cc -dumpmachine | grep arm X-MFC with: r272849 Reported by: Dan Raymond <draymond@foxvalley.net>, gjb Notes: svn path=/head/; revision=275602
| * Build gperf with xdev as part of _xb-bootstrap-tools to unbreak the buildEnji Cooper2014-12-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | if/when MK_CXX == no and make delete-old has been run on the build host, post-r272849 Tested with the following command: % sudo env MK_CLANG=no MK_CLANG_BOOTSTRAP=no MK_GCC=yes MK_GCC_BOOTSTRAP=yes \ MK_GNUCXX=yes make xdev Notes: svn path=/projects/building-blocks/; revision=275600
| * Push the build-tools logic down into Makefile.inc1 so it's localized all inEnji Cooper2014-12-081-3/+5
| | | | | | | | | | | | | | one spot, and the potential for installing to the wrong DESTDIR is lower Notes: svn path=/projects/building-blocks/; revision=275596
| * MFhead @ r275496Enji Cooper2014-12-051-0/+12
| |\ | |/ |/| | | Notes: svn path=/projects/building-blocks/; revision=275499
| * share/termcap requires ex from usr.bin/vi in order to compile, and since usr.binEnji Cooper2014-11-291-1/+11
| | | | | | | | | | | | | | | | | | | | | | comes after share in SUBDIR in Makefile.inc1, the build will fail when vi is not installed on the build host Run build-tools for usr.bin/vi and install ex, etc to WORLDTMP to enable building share/termcap on hosts that don't have nvi installed on them Notes: svn path=/projects/building-blocks/; revision=275224
| * Implement MK_RADIUS_SUPPORT to make libradius and assorted support optionalEnji Cooper2014-11-271-1/+5
| | | | | | | | Notes: svn path=/projects/building-blocks/; revision=275166
| * Don't try and build 32-bit versions of hyperv / bhyveEnji Cooper2014-11-261-1/+1
| | | | | | | | Notes: svn path=/projects/building-blocks/; revision=275102