summaryrefslogtreecommitdiff
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* MFHGlen Barber2016-04-131-8/+9
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297906
| * Try harder to find svnSteve Wills2016-04-131-8/+9
| | | | | | | | | | | | | | | | | | | | While here, elliminate last references to CVS_UPDATE and SUP_UPDATE Reviewed by: gjb Approved by: gjb Notes: svn path=/head/; revision=297902
* | Set explicit ordering to prevent packaging failures with parallelGlen Barber2016-04-111-0/+5
| | | | | | | | | | | | | | | | | | (-jN) make(1) jobs. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297830
* | Avoid using DESTDIR in packaged-base targets, which canGlen Barber2016-04-081-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | cause bizarre packaging failures with non-default OBJDIR and/or MAKEOBJDIRPREFIX and REPODIR set to a location not within OBJDIR. Reported by: many Tested by: sef Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297693
* | MFHGlen Barber2016-04-061-1/+1
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297605
| * Remove leftover _LDSCRIPTROOT missed in r297270.Bryan Drewery2016-04-051-1/+1
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297591
* | Fix errors packaging the base system when using non-default DESTDIRGlen Barber2016-04-051-4/+4
| | | | | | | | | | | | | | | | | | and MAKEOBJDIRPREFIX. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297598
* | MFHGlen Barber2016-04-041-74/+37
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297567
| * Fix the external GCC build after r297271 by setting -L <sysroot>/usr/lib.Bryan Drewery2016-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC does add <sysroot>/usr/lib to the library search path but it comes after /usr/local/lib which can find ports libraries such as libedit.so. The bad path comes in as /usr/local/lib/gcc/x86_64-portbld-freebsd11.0/5.3.0/../../../ which corresponds to <prefix>/lib. This partially reverts r297271. Pointyhat to: bdrewery Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297435
| * Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.Bryan Drewery2016-03-301-59/+15
| | | | | | | | | | | | | | | | | | | | Reviewed by: emaste, hselasky (partial), brooks (brief) Discussed on: arch@ Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5742 Notes: svn path=/head/; revision=297434
| * simplify compile-time default keyboard map generationEd Maste2016-03-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In r296926 the -P <path> option was added to kbdcontrol, which enables this change for a simplified compile-time default keymap build process. PR: 193865 Reviewed by: Oliver Pinter Tested by: Oliver Pinter MFC After: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5708 Notes: svn path=/head/; revision=297363
| * WITHOUT_TOOLCHAIN: Fix includes not being staged in WORLDTMP.Bryan Drewery2016-03-251-2/+2
| | | | | | | | | | | | | | | | | | This has been the case since r264930 and r274662. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297281
| * CROSS_BINUTILS_PREFIX: Reduce redundant logic.Bryan Drewery2016-03-251-10/+10
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297279
| * External compiler: Remove redundant flags from CXXFLAGS.Bryan Drewery2016-03-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | The use of XCXXFLAGS is to assign it to CXX in CROSSENV. XCFLAGS is also assigned here so there is no need to have --syroot and -B flags again. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297278
| * WITHOUT_CROSS_COMPILER: Fix this to use external compiler logic.Bryan Drewery2016-03-251-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Without this the default toolchain in /usr/bin/ would not use WORLDTMP via --sysroot, and would lack --target if cross-building. PR: 196193 Related: D3970 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297277
| * Update flags for external GCC.Bryan Drewery2016-03-251-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The -L WORLDTMP/usr/lib is not needed as GCC is already adding in -L =/usr/lib internally with --sysroot. It does not do this for header include paths though, thus passing -isystem =/usr/include is still needed. For the forced libc++ usage: - Use -isystem rather than -I for libc++ headers. - Use -std=c++11 rather than gnu++11. - Use -nostdinc++ to ensure GCC's headers don't leak in. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297271
| * Build libcompat (lib32) with a --sysroot pointing into its stage directory.Bryan Drewery2016-03-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This overrides the cross-compiler's default sysroot to use the WORLD32's sysroot for building the lib32 libraries. Previously the cross-compiler would default the sysroot to the 64bit WORLDTMP and -B/-L/-isystem flags were used to build using the lib32 files. This leads to multiple issues discussed later. Some extra headers are now needed to be staged since the 64bit WORLDTMP is not referenced at all for headers. The 64bit WORLDTMP is still used via PATH for build tools. Overriding the default target/arch is retained in the CC/CXX overrides. This allows reverting the LDSCRIPT rewriting in installworld from r296921 and r235122, thus allowing read-only objdirs to work for installing again. This removes the need for _LDSCRIPTROOT. This allows progressing the change to always use --sysroot for the build rather than only relying on the cross-compiler's default sysroot. The work for that is in D3970 and needed to resolve WITHOUT_CROSS_COMPILER not using a --sysroot [1]. PR: 196193 [1] Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297270
* | Make WSTAGEDIR, KSTAGEDIR, and REPODIR configurable.Glen Barber2016-03-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | This should fix the 'packages' target when MAKEOBJDIRPREFIX or DESTDIR is set in the make(1) environment or via command line. Reported by: kmoore, sef, Marko Turk Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297197
* | MFHGlen Barber2016-03-141-161/+36
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296869
| * Use the newly minted Makefile.libcompat to implement libsoft librariesWarner Losh2016-03-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | for the armv6 ABI switch. This also make WITH_LIBSOFT functional on the arm platform. As a transition thing, this seems to work even without switching the ABI (we basically build the same libraries twice when MK_LIBSOFT=yes until the ABI cut over next month). MK_LIBSOFT remains default no. Notes: svn path=/head/; revision=296779
| * Bump BOOTSTRAPPING test for libelf after cross-endian fix in r296685Ed Maste2016-03-121-1/+2
| | | | | | | | Notes: svn path=/head/; revision=296753
| * Move Makefile.lib32 to Makefile.libcompat and generalize it.Bryan Drewery2016-03-111-28/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation for LIBSOFT. This file only supports *1* LIBCOMPAT value currently and must be capitalized. In Makefile.libcompat given LIBCOMPAT=FOO there can be values set for LIBFOOCFLAGS, LIBFOOCPUFLAGS, LIBFOOWMAKEENV, LIBFOOWMAKEFLAGS, LIBFOOCPUFLAGS, and LIBFOODTRACE. These will have the standard cross-build values appended onto them. This could be extended to support multiple libcompat libraries in the future once there is a need. Reviewed by: imp Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5612 Notes: svn path=/head/; revision=296709
| * Factor out lib32 generation to its own file. This is prep for aWarner Losh2016-03-111-133/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | similar Makefile.libsoft which will do the same for armv6 soft fp API libraries in prep for pulling the trigger on moving to armv6 hard float. Once there's two files, I'll work with bdrewery@ to merge the two files as they are mostly the same. The high rate of churn for Makefile* makes it quite difficult to make progress out of tree. Differential Review: https://reviews.freebsd.org/D5566 Notes: svn path=/head/; revision=296642
* | MFHGlen Barber2016-03-101-7/+4
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296625
| * Don't ever create object directories here with MK_AUTO_OBJ.Bryan Drewery2016-03-081-7/+4
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296549
* | Avoid adding the '-release' suffix to non-debug kernel packages.Glen Barber2016-03-081-12/+12
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296545
* | MFHGlen Barber2016-03-061-8/+23
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296422
| * Merge ^/head r296369 through r296409.Dimitry Andric2016-03-051-5/+20
| |\ | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=296410
| | * Conditionalize building makewhatis(1) for upgrades that need it.Bryan Drewery2016-03-051-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove building of the legacy makewhatis(1) since it was only needed for 6.0 upgrades. On my 2.2 GHz system libsqlite3 takes 60-100 seconds to build, which due to its serialized nature can hold up the build waiting on it to finish in bootstrap-tools. makewhatis(1) was only required to be a build tool to support upgrades from 6.0 which was properly removed in r208324 but later reverted due to installworld using it. The installworld issue was fixed in r275622 when it was added to ITOOLS. A BOOTSTRAPPING check was missed when makewhatis(1) was replaced with mandoc in r283777. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296405
| | * Don't add duplicates from LOCAL_LIB_DIRS.Bryan Drewery2016-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This causes parallel failures. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296399
| | * Fix over/under-linking in contrib/ofed.Bryan Drewery2016-03-041-1/+10
| | | | | | | | | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296398
| | * NO_ROOT: Create the METALOG directory on installworld/distributeworld.Bryan Drewery2016-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When not using NO_ROOT the DESTDIR is implicitly created by the distrib-dirs call. However with NO_ROOT it is trying to write to the METALOG right away before running distrib-dirs which may fail. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296396
| | * Add dd as a bootstrap tool, for status= supportEd Maste2016-03-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | In r295757 I added status=none to buildworld's use of dd, but FreeBSD versions before April 2014 lack support. Notes: svn path=/head/; revision=296387
| * | Merge ^/head r296007 through r296368.Dimitry Andric2016-03-031-4/+4
| |\| | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=296369
| * | Merge ^/head r295902 through r296006.Dimitry Andric2016-02-241-12/+26
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=296007
| * \ \ Merge ^/head r295601 through r295844.Dimitry Andric2016-02-211-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=295845
| * \ \ \ Merge ^/head r295544 through r295600.Dimitry Andric2016-02-131-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=295601
| * \ \ \ \ Merge ^/head r295351 through r295543.Dimitry Andric2016-02-111-0/+15
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=295544
| * \ \ \ \ \ Merge ^/head r294961 through r295350.Dimitry Andric2016-02-061-7/+5
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=295351
| * \ \ \ \ \ \ Merge ^/head r293686 through r293849.Dimitry Andric2016-01-131-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=293850
| * \ \ \ \ \ \ \ Merge ^/head r293430 through r293685.Dimitry Andric2016-01-111-9/+4
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=293687
| * \ \ \ \ \ \ \ \ Merge ^/head r293280 through r293429.Dimitry Andric2016-01-081-4/+4
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=293430
| * \ \ \ \ \ \ \ \ \ Merge ^/head r293175 through r293279.Dimitry Andric2016-01-061-4/+20
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/clang380-import/; revision=293280
| * | | | | | | | | | | First part of updating llvm/clang build glue: getting llvm-tblgen,Dimitry Andric2015-12-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-tblgen and clang itself built. Notes: svn path=/projects/clang380-import/; revision=292988
* | | | | | | | | | | | Set ALLOW_BASE_SHLIBS when creating base packages to enableGlen Barber2016-03-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shared library tracking. Note, this requires a patched pkg(8) to do anything, but pkg(8) does not complain when an option is specified that it does not recognize. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296325
* | | | | | | | | | | | MFHGlen Barber2016-03-021-16/+30
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * | | | | | | | | | | Convert casperd(8) daemon to the libcasper.Mariusz Zaborski2016-02-251-4/+4
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We have the same cwd as the original process. 2. The same uid, gid and groups. 3. The same MAC labels. 4. The same descriptor table. 5. The same routing table. 6. The same umask. 7. The same cpuset(1). From now services are also in form of libraries. We also removed libcapsicum at all and converts existing program using Casper to new architecture. Discussed with: pjd, jonathan, ed, drysdale@google.com, emaste Partially reviewed by: drysdale@google.com, bdrewery Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D4277 Notes: svn path=/head/; revision=296047
| * | | | | | | | | | FAST_DEPEND: Skip 'make depend' for buildworld and kernel since it is ↵Bryan Drewery2016-02-241-12/+26
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | auto-ran now. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295990
* | | | | | | | | | Include a 'package-pkg' target, intended for use forGlen Barber2016-02-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | architectures we do not provide upstream pkg(8) packages. This is not tied to anything as-is, and likely will break your system if used (based on experience with testing with powerpc). There is an overwhelming amount of evil happening here, so until the issues are fixed, it will not be tied into the 'packages' target. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295955
* | | | | | | | | | Set PORTSDIR if not already set.Glen Barber2016-02-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295954