aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* - Add CHECKSUM.* support in Makefile[1].Hiroki Sato2013-02-031-4/+6
| | | | | | | | | | | | | | | - Use ln -fs to create a symlink. - Remove pkgadd for docports. - Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no. - Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE. - Use makefs(8) and gpart(8) for sparc64 ISO image[2]. - Add publisher option to makefs(8)[2]. Based on work by: gjb[1] Discussed with: marius, nwhitehorn[2] Notes: svn path=/head/; revision=246283
* Log the addition of login.conf.db, passwd, pwd.db, and spwd.db via cat -l.Brooks Davis2013-01-291-2/+7
| | | | | | | Make cat a bootstrap tool to facilitate this. Notes: svn path=/head/; revision=246097
* Fix installworld when nmtree is not on the host by only adding it toBrooks Davis2013-01-291-3/+5
| | | | | | | | | ITOOLS when we will be using the host copy. Fix installkernel when -DNO_ROOT is set. Notes: svn path=/head/; revision=246096
* Fix installworld when the host does not need to bootstrap nmtree.Brooks Davis2013-01-291-1/+1
| | | | | | | Reported by: lev, jmg Notes: svn path=/head/; revision=246092
* Fix update method (s/SUP/CVS) warning.Glen Barber2013-01-251-1/+1
| | | | | | | | Submitted by: Ryan Stone MFC after: 1 day Notes: svn path=/head/; revision=245918
* Strip any trailing slash off of the -D argument to install to support theBrooks Davis2013-01-241-1/+1
| | | | | | | rather fragile destdir stripping in the metalog. Notes: svn path=/head/; revision=245890
* Introduce a new option -DNO_ROOT that allows install and distributionBrooks Davis2013-01-221-8/+60
| | | | | | | | | | | | | | | | | | targets to be run without root privilege. Information about ownership, group, flags, and suid bits are stored in the file specified by METALOG which defaults to ${DESTDIR}/METALOG. This file can be used in conjunction with bsdtar or makefs to generate archives or file system images with correct permissions. The packageworld target has been altered to use this metadata allowing non-root releases (subject to further changes in release/Makefile.) Sponsored by: DARPA, AFRL Reviewed by: ian, ray Notes: svn path=/head/; revision=245825
* Fix spurious leading / on dtc path in Makefile.inc1. Spotted by jhb.David Chisnall2013-01-221-1/+1
| | | | Notes: svn path=/head/; revision=245822
* Import new (BSDL) device tree compiler. Now built by default, so that it can'tDavid Chisnall2013-01-221-1/+4
| | | | | | | | | | | | | be used on the host system (and not installed on the device, if required). The GPL'd one is still available if there are any devices that need it (make universe passes with it, including kernels that use fdt, but there may be some out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now. Probably won't be MFC'd, but we'll remove the GPL'd version in head after the new one has had a lot more testing and ship it in 10.0. Notes: svn path=/head/; revision=245803
* Chase r245756 of make.conf(5):Glen Barber2013-01-221-4/+14
| | | | | | | | | | | | | - If update method is SUP_UPDATE or CVS, warn that those update methods are deprecated. - While here, remove bogus NO_WWWUPDATE. MFC after: 3 days X-MFC-with: r245756 Notes: svn path=/head/; revision=245757
* Always bootstrap nmtree if it is not available on the host. It is fairlyBrooks Davis2013-01-211-1/+1
| | | | | | | | | small and it is quite annoying to get all the way through buildworld only to discover that you forgot the DB_FROM_SRC (or soon NO_ROOT) option. Notes: svn path=/head/; revision=245754
* Remove a harmless (somewhat to my surprise) bogon that crept into r245440.Brooks Davis2013-01-181-1/+0
| | | | Notes: svn path=/head/; revision=245622
* Rework the mtree portion of etc/Makefile's distrib-dirs target to runBrooks Davis2013-01-171-6/+2
| | | | | | | | | | | mtree in a shell loop so there is only one mtree commandline. Move the implementation of LOCAL_MTREE into etc/Makefile. Sponsored by: DARPA, AFRL Reviewed by: mtree :) Notes: svn path=/head/; revision=245565
* Correct the distrib-dirs target in the -DDB_FROM_SRC case.Brooks Davis2013-01-171-1/+1
| | | | Notes: svn path=/head/; revision=245563
* Add a new LIBRARIES_ONLY make variable to disable the build and installBrooks Davis2013-01-171-0/+1
| | | | | | | | | | | | | of files other than the actual libraries. Use LIBRARIES_ONLY to supress the inclusion of files in the lib32 distribution that are duplicates of files in base. Sponsored by: DARPA, AFRL Reviewed by: emaste Notes: svn path=/head/; revision=245561
* Add an option DB_FROM_SRC to use src/etc's user/group databases whenBrooks Davis2013-01-151-7/+26
| | | | | | | | | | | | | | | | installing. This allows things like running installworld for 10-CURRENT on a 9.0-RELEASE system without adding extra users and groups to the passwd and group files. To prevent potentially risky uid/gid mismatches on systems with non-standard local values, require that DESTDIR be set if DB_FROM_SRC is set. Sponsored by: DARPA, AFRL Reviewed by: peter Notes: svn path=/head/; revision=245440
* Revert r245316. Systems with non-standard uids/gids are more prevalentBrooks Davis2013-01-111-15/+33
| | | | | | | | that I'd feared. Discussion is ongoing about the scope of a safer solution. Notes: svn path=/head/; revision=245318
* Use the -N option to install and nmtree to eliminate the need for theBrooks Davis2013-01-111-33/+15
| | | | | | | | | checks for missing users and groups. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=245316
* Use find -exec to install zoneinfo instead of requiring xargs to be anBrooks Davis2013-01-111-1/+1
| | | | | | | | | install tool. Suggested by: delphij Notes: svn path=/head/; revision=245309
* Add xargs to the set of install tools when zoneinfo is not disabled.Brooks Davis2013-01-101-1/+1
| | | | | | | | | This fixes installworld which I had broken in r245265. Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com> Notes: svn path=/head/; revision=245271
* Add auditdistd to the pre-install required uid check list.Peter Wemm2012-12-021-1/+1
| | | | Notes: svn path=/head/; revision=243798
* The build-tools step during build32 also needs the -legacy magic.Simon J. Gerraty2012-11-301-0/+2
| | | | | | | Approved by: marcel (mentor) Notes: svn path=/head/; revision=243713
* Unbreak amd64 cross-build where amd64 is the target. While clangMarcel Moolenaar2012-11-201-1/+1
| | | | | | | | | | may be installed as cc and we don't need to build gcc as a cross-tools, we still build gcc and thus need cc_tools built as a build tool. Not doing this results in building gengenrtl with the target compiler while we need to run it on the build machine. Notes: svn path=/head/; revision=243322
* Work around pc98 tinderbox failures in sys/boot/pc98, by making sure aDimitry Andric2012-11-101-2/+2
| | | | | | | | | | cross gcc gets built during the cross-tools stage. MFC after: 1 week X-MFC-With: 242706 Notes: svn path=/head/; revision=242874
* Add ATF to the build. This is may be a bit rought around the egdes,Marcel Moolenaar2012-10-221-0/+5
| | | | | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@ Notes: svn path=/head/; revision=241823
* Allow LOCAL_(DIRS,LIBS) to install files in directories not found in theBrooks Davis2012-10-181-1/+11
| | | | | | | | | system mtree files via a LOCAL_MTREE variable which contains a list of mtree files to be applyed along with the base mtree files to the tmp root and DESTDIR. Notes: svn path=/head/; revision=241684
* Fix the showconfig target. bmake sends debug output to stderr.Marcel Moolenaar2012-10-071-1/+1
| | | | | | | Submitted by: Simon Garrety <sjg@juniper.net> Notes: svn path=/head/; revision=241312
* Fix 32-bit library builds after the removal of adding -E to make for AS,Marcel Moolenaar2012-10-071-11/+17
| | | | | | | | | | | CC, CXX and LD. This fix implements the intended as it should have been implemented all along: by passing AS, CC, CXX and LD on the commandline of the sub-make instead of in the environment of the sub-make. Breakage pointed-out by: dim@ Notes: svn path=/head/; revision=241311
* Add support for bmake. This includes:Marcel Moolenaar2012-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net> Notes: svn path=/head/; revision=241298
* Introduce a new make variable COMPILER_TYPE that specifies whatBrooks Davis2012-09-131-2/+15
| | | | | | | | | | | | | | | | | | | | | | | type of compiler is being used (currently clang or gcc). COMPILER_TYPE is set in the new bsd.compiler.mk file based on the value of the CC variable or, should it prove informative, by running ${CC} --version and examining the output. To avoid negative performance impacts in the default case and correct value for COMPILER_TYPE type is determined and passed in the environment of submake instances while building world. Replace adhoc attempts at determining the compiler type by examining CC or MK_CLANG_IS_CC with checks of COMPILER_TYPE. This eliminates bootstrapping complications when first setting WITH_CLANG_IS_CC. Sponsored by: DARPA, AFRL Reviewed by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>, imp, linimon (with some modifications post review) MFC after: 2 weeks Notes: svn path=/head/; revision=240468
* Not all Pmake derivatives silently handle empty shell output, so ensure thereDavid E. O'Brien2012-09-121-1/+1
| | | | | | | | | is something for make(1) to consume. Bmake gives output such as: "warning: Couldn't read shell's output for "/bin/sh -c true" Note we parted from traditional Pmake behavior in r18864 / r18255. Notes: svn path=/head/; revision=240403
* Fix 'distributeworld' target when WITHOUT_GAMES is set.Glen Barber2012-09-031-1/+4
| | | | | | | | | | Reviewed by: des Approved by: des MFC after: 3 days X-MFC-To: 9-only Notes: svn path=/head/; revision=240077
* Merging of projects/armv6, part 3Oleksandr Tymoshenko2012-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | r238211: Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. Submitted by: Tim Kientzle <kientzle@freebsd.org> Notes: svn path=/head/; revision=239272
* Partial MFV (illumos-gate 13753:2aba784c276b)Martin Matuska2012-07-301-1/+2
| | | | | | | | | | | | 2762 zpool command should have better support for feature flags References: https://www.illumos.org/issues/2762 MFC after: 2 weeks Notes: svn path=/head/; revision=238926
* Add "hier" as an alternate spelling of "hierarchy" to match hier(9).David E. O'Brien2012-07-031-1/+1
| | | | Notes: svn path=/head/; revision=238051
* Minor wording change. The previous commit message should have included:Brooks Davis2012-06-151-1/+1
| | | | | | | Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=237142
* MFP4: 212854, 212854Brooks Davis2012-06-151-1/+7
| | | | | | | | | | | Add a LOCAL_LIB_DIRS variable to complement the existing LOCAL_DIRS and LOCAL_TOOL_DIRS variables. Directories in LOCAL_LIB_DIRS are built at the end of the _generic_libs target. Reviewed by: imp (212854) Notes: svn path=/head/; revision=237141
* During buildworld and buildkernel, define EARLY_BUILD in the earlierDimitry Andric2012-06-031-5/+6
| | | | | | | | | | | | | | | | | | | | | stages (build-tools, cross-tools, etc) of the build, so we can detect in bsd.*.mk whether to pass compiler-specific flags to ${CC}. In particular, this commit will allow using WITH_CLANG_IS_CC when the base compiler is still gcc, and when ${CC}, ${CXX} and ${CPP} are left at their defaults. The early stages will then be built using gcc, and no clang-specific flags will be passed to it. The later stages will be built as usual. The EARLY_BUILD define can also serve other uses, such as building the world stage C++ executables with libc++ instead of libstdc++: during the early build stages, we cannot assume libc++ is already available, so we must still build with libstdc++ at that time. MFC after: 1 week Notes: svn path=/head/; revision=236528
* Bump __FreeBSD_version for the byacc import, and update _bootstrap_tools.Dag-Erling Smørgrav2012-05-221-1/+4
| | | | Notes: svn path=/head/; revision=235788
* Fix bootstrapping from FreeBSD 7.x: we also need to build ar.Marcel Moolenaar2012-05-191-0/+5
| | | | Notes: svn path=/head/; revision=235637
* By request, add back support from 7.0 and newer, since the changes forWarner Losh2012-05-161-5/+12
| | | | | | | that are so minimal. Notes: svn path=/head/; revision=235500
* Do a bit of house cleaning and remove the old, obsolete upgrade fromWarner Losh2012-05-101-28/+6
| | | | | | | | 6.0 support and bump the minimum version to 8.0. These versions have not been tested and are believed to be broken. Notes: svn path=/head/; revision=235224
* Introduce the ${SHLIB_LDSCRIPT} variable to have an ld(1) scriptJeremie Le Hen2012-05-071-2/+4
| | | | | | | | | | | | instead of a symlink for .so files. Reviewed by: kib, kan (previous version), dim Approved by: kib (mentor) Silence from: -hackers@ MFC after: 1 week Notes: svn path=/head/; revision=235122
* Fix ordering issue. 'make xdev' can fail with -jN because it tries to run theWarner Losh2012-04-261-2/+2
| | | | | | | | | xdev-install step while xdev-build is still running. Submitted by: Ian Lepore Notes: svn path=/head/; revision=234724
* o) Fix mips/mips -> mips for Makefile.inc1.Juli Mallett2012-03-291-1/+1
| | | | | | | o) Rebuild src.conf.5. Notes: svn path=/head/; revision=233645
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.Juli Mallett2012-03-291-1/+1
| | | | | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile. Notes: svn path=/head/; revision=233644
* Build CTF tools as a part of toolchain for cross-compilation caseOleksandr Tymoshenko2012-03-241-2/+4
| | | | Notes: svn path=/head/; revision=233416
* - Do not build libcom_err and compile_et when kerberos is disabled. TheyStanislav Sedov2012-03-231-1/+2
| | | | | | | | depends on several heimdal libraries and not used by anything but kerberos tools. Notes: svn path=/head/; revision=233337
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsStanislav Sedov2012-03-221-18/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues. Notes: svn path=/head/; revision=233294
* Make sure libgcc_s is finished building in _startup_libs beforePeter Wemm2012-03-171-0/+3
| | | | | | | | | | building libcxxrt with high -j levels. The workaround in libc++/Makefile isn't necessary once that race is solved. Reviewed by: theravin Notes: svn path=/head/; revision=233098