summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove a harmless (somewhat to my surprise) bogon that crept into r245440.brooks2013-01-181-1/+0
|
* Rework the mtree portion of etc/Makefile's distrib-dirs target to runbrooks2013-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 :)
* Correct the distrib-dirs target in the -DDB_FROM_SRC case.brooks2013-01-171-1/+1
|
* Add a new LIBRARIES_ONLY make variable to disable the build and installbrooks2013-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
* Add an option DB_FROM_SRC to use src/etc's user/group databases whenbrooks2013-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
* Revert r245316. Systems with non-standard uids/gids are more prevalentbrooks2013-01-111-15/+33
| | | | | that I'd feared. Discussion is ongoing about the scope of a safer solution.
* Use the -N option to install and nmtree to eliminate the need for thebrooks2013-01-111-33/+15
| | | | | | checks for missing users and groups. Sponsored by: DARPA, AFRL
* Use find -exec to install zoneinfo instead of requiring xargs to be anbrooks2013-01-111-1/+1
| | | | | | install tool. Suggested by: delphij
* Add xargs to the set of install tools when zoneinfo is not disabled.brooks2013-01-101-1/+1
| | | | | | This fixes installworld which I had broken in r245265. Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com>
* Add auditdistd to the pre-install required uid check list.peter2012-12-021-1/+1
|
* The build-tools step during build32 also needs the -legacy magic.sjg2012-11-301-0/+2
| | | | Approved by: marcel (mentor)
* Unbreak amd64 cross-build where amd64 is the target. While clangmarcel2012-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.
* Work around pc98 tinderbox failures in sys/boot/pc98, by making sure adim2012-11-101-2/+2
| | | | | | | cross gcc gets built during the cross-tools stage. MFC after: 1 week X-MFC-With: 242706
* Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-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@
* Allow LOCAL_(DIRS,LIBS) to install files in directories not found in thebrooks2012-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.
* Fix the showconfig target. bmake sends debug output to stderr.marcel2012-10-071-1/+1
| | | | Submitted by: Simon Garrety <sjg@juniper.net>
* Fix 32-bit library builds after the removal of adding -E to make for AS,marcel2012-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@
* Add support for bmake. This includes:marcel2012-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>
* Introduce a new make variable COMPILER_TYPE that specifies whatbrooks2012-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
* Not all Pmake derivatives silently handle empty shell output, so ensure thereobrien2012-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.
* Fix 'distributeworld' target when WITHOUT_GAMES is set.gjb2012-09-031-1/+4
| | | | | | | Reviewed by: des Approved by: des MFC after: 3 days X-MFC-To: 9-only
* Merging of projects/armv6, part 3gonzo2012-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>
* Partial MFV (illumos-gate 13753:2aba784c276b)mm2012-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
* Add "hier" as an alternate spelling of "hierarchy" to match hier(9).obrien2012-07-031-1/+1
|
* Minor wording change. The previous commit message should have included:brooks2012-06-151-1/+1
| | | | Sponsored by: DARPA, AFRL
* MFP4: 212854, 212854brooks2012-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)
* During buildworld and buildkernel, define EARLY_BUILD in the earlierdim2012-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
* Bump __FreeBSD_version for the byacc import, and update _bootstrap_tools.des2012-05-221-1/+4
|
* Fix bootstrapping from FreeBSD 7.x: we also need to build ar.marcel2012-05-191-0/+5
|
* By request, add back support from 7.0 and newer, since the changes forimp2012-05-161-5/+12
| | | | that are so minimal.
* Do a bit of house cleaning and remove the old, obsolete upgrade fromimp2012-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.
* Introduce the ${SHLIB_LDSCRIPT} variable to have an ld(1) scriptjlh2012-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
* Fix ordering issue. 'make xdev' can fail with -jN because it tries to run theimp2012-04-261-2/+2
| | | | | | xdev-install step while xdev-build is still running. Submitted by: Ian Lepore
* o) Fix mips/mips -> mips for Makefile.inc1.jmallett2012-03-291-1/+1
| | | | o) Rebuild src.conf.5.
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.jmallett2012-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.
* Build CTF tools as a part of toolchain for cross-compilation casegonzo2012-03-241-2/+4
|
* - Do not build libcom_err and compile_et when kerberos is disabled. Theystas2012-03-231-1/+2
| | | | | depends on several heimdal libraries and not used by anything but kerberos tools.
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsstas2012-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.
* Make sure libgcc_s is finished building in _startup_libs beforepeter2012-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
* Fix a thinko in r232322, where gcc (and its tools) are not built duringdim2012-03-041-2/+2
| | | | | | | | | | | | | | the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set. This causes no 'cc' to be installed in the temporary cross-tools tree, making lint fall over later in the build, because it ignores ${CC} and attempts to run 'cc' anyway. To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC is set, or if WITH_CLANG_IS_CC is set. Pointy hat to: dim MFC after: 2 weeks
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatdim2012-02-291-5/+7
| | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
* Allow specification of build shell for the buildenv target.imp2012-01-301-1/+4
| | | | Submitted by: ian lepore
* When the buildkernel stage 2.3 (build tools) runs, the PATH is still setdim2012-01-271-0/+2
| | | | | | | | | | | | | | to the default from the top-level Makefile. Therefore, invocations of lex and yacc (used during building of aicasm) will use the executables in /usr/bin, not those optionally built during the previous buildworld or kernel-toolchain. This makes kernel builds from older FreeBSD releases more difficult than necessary. Fix this by setting PATH to ${BPATH}:${PATH} in stage 2.3, so the bootstrap tools directories are searched before the regular ones. Silence from: svn-src-{all,head} MFC after: 1 week
* Restore functionality to pack several kernels into release. Allglebius2012-01-151-1/+12
| | | | | | | | kernels specified by KERNCONF are built and packed into release. The first one is packed into kernel.txz, all others to kernel.CONFIG.txz. The first one is installed on bootables in /boot.
* Fix the broken non-cross compile build. Oops!adrian2012-01-061-1/+1
| | | | Another pointy hat to: adrian, for stirring up more trouble.
* Allow extra directories to be added to the build-tools target.adrian2012-01-051-0/+5
| | | | | | | Things such as "sh" require local tools to be built before cross-compiling. This allows for extra software (that's built via LOCAL_DIRS) to also have a build-tools target where required.
* Remove -mfancy-math from LIB32CPUFLAGS for amd64. It has been defaultdim2011-12-221-1/+0
| | | | | | | | | for our gcc since more than three years (see r181534, which is also in stable/9 and stable/8). This flag used to be for the benefit of the old in-kernel math emulator, which was removed more than eight years ago. Pointed out by: arundel MFC after: 1 week
* - CTF knob is now implemented using common scheme: MK_CTF=yes/no isfjoe2011-11-301-2/+0
| | | | | | | defined based on WITH/WITHOUT_CTF settings, default is WITHOUT_CTF, NO_CTF overrides WITH_CTF (used by Makefile.inc1) - CTFCONVERT_CMD/NORMAL_CTFCONVERT are now defined to empty string if make(1) can handle empty commands
* Turn off profiled libs build by default.fjoe2011-11-291-5/+5
| | | | Can be enabled back using WITH_PROFILE=yes in /etc/src.conf
* Fix breakage after r227983; lib/libcxxrt still got built, because it wasdim2011-11-261-1/+1
| | | | | | | | not disabled in the usual way (by adding it to __DEFAULT_NO_OPTIONS in share/mk/bsd.own.mk), and because the test for MK_LIBCPLUSPLUS in Makefile.inc1 was incorrect. Pointy hat to: dim
OpenPOWER on IntegriCloud