summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* Plug the ATF tests into the build.jmmv2013-12-281-3/+3
| | | | | | | | | | | | This is a MFC into stable/10 of: - r257849 Add libatf-c++ to the prebuild libs. - r257853 Build and install the atf tests. - r258233 Move all atf directories to the tests mtree. - r258285 Fix the build of some ATF tests. This change is "make tinderbox" clean on ref10-amd64 with the default settings of WITHOUT_TESTS. It is likely for the WITH_TESTS build to still be broken because not all relevant changes have been merged yet.
* Set up the /usr/tests hierarchy.jmmv2013-12-281-13/+24
| | | | | | | | | | | | | | | | | This is a MFC of the following into stable/10: - r257097 Set up the /usr/tests hierarchy. - r257098 Add missing WITHOUTTESTS file. - r257100 Add a tests(7) manual page. - r257105 Disable WITHTESTS= for now. - r257848 Fix buildworld when WITHTESTS is enabled. - r257850 Subsume the functionality of MKATF into MKTESTS. - r257851 Handle the removal of the test suite when WITHOUTTESTS=yes. - r257852 Install category Kyuafiles from their category directories. - r258232 Install BSD.tests.mtree when MKTESTS is yes. Note that building with WITH_TESTS is still broken at this point (and hence why WITHOUT_TESTS is the set as the default). Subsequent pullups will fix the remaining issues.
* MFC 256640: Allow 'make xdev' to work when DESTDIR is set.ian2013-12-131-3/+4
|
* MFC r258086:cperciva2013-11-241-1/+1
| | | | | | | | | | Strip the -pN patch level from the VERSION string which gets encoded into CTF data. Otherwise FreeBSD Update builds think every kernel file has changed every time there's a security advisory, since the FreeBSD Update build code isn't smart enough to look inside CTF data to ignore those changes. Approved by: re (gjb)
* MFC r258283 - move iconv* symbols out of libc.so.7 namespace withpeter2013-11-201-0/+2
| | | | | | compatibility symbols to aid transition for existing 10.x installs. Approved by: re (kib)
* MFC r257350:delphij2013-11-031-4/+10
| | | | | | | | | | | | | | | In r257079, SRCDIR is pointed to ${.CURDIR} when not set. However, Makefile.inc1 is being called in sub-make's where make(1) would, by default, implicitly chdir(2) to ${.OBJDIR} before executing any targets. This would make some targets, like delete-old, when trying to derive various variables introduced by change r256921 using ``make -f Makefile.inc1'' that also rely on SRCDIR to fail. This changeset adds an explicit cd ${.CURDIR} before these unwrapped make calls, making them in line with the other ones that are already being wrapped with the explicit chdir's. Approved by: re (hrs)
* MFC r257329 (nyan):gjb2013-11-011-1/+6
| | | | | | | Fix build, both clang and gcc are required on pc98. Approved by: re (kib) Sponsored by: The FreeBSD Foundation
* MFC r256915brooks2013-10-311-4/+2
| | | | | | | | | | | | | Stop conflating WITHOUT_CLANG with WITHOUT_CLANG_IS_CC. This allows bootstrapping a copy of clang without building clang for the base system which is useful for nanobsd and similar setups. It's still probably wrong to conflate what is installed as /usr/bin/cc with the selection of a bootstrap compiler under WITH*_CLANG_IS_CC, but that's for another day. Sponsored by: DARPA/AFRL Approved by: re (gjb)
* MFC r257079:gjb2013-10-251-2/+6
| | | | | | | Fix build host pollution by avoiding calling 'uname -srp' to determine values for 'VERSION'. Approved by: re (glebius)
* MFC r256842:bdrewery2013-10-241-0/+12
| | | | | | | | | | | | | Fix 'make delete-old-libs' and 'make check-libs' to delete .debug files created by WITH_DEBUG_FILES. Also cleanup .symbols files from the period between r244236 when .symbols were supported and r251512 when they were renamed to .debug. Only propose to delete a .debug file if the corresponding library itself was deleted already. Approved by: bapt Approved by: re (glebius)
* Revert r256944, which does not quite get the src/ directory correct.gjb2013-10-221-5/+2
| | | | | | Discussed with: cperciva Approved by: re (implicit) Pointyhat: gjb
* MFC r256921:cperciva2013-10-221-2/+5
| | | | | | Thou shalt not leak build host state into the system being compiled. Approved by: re (gjb)
* Revert-and-redo r255955: the sort -r should be added to delete-old-dirs.delphij2013-10-011-2/+2
| | | | Approved by: re (gjb)
* Reverse directories order when doing 'make delete-old-dir'. Thisdelphij2013-09-301-1/+1
| | | | | | | | ensures subdirectories gets removed before their parents when doing make delete-old. Approved by: re (gjb) MFC after: 2 weeks
* Remove BIND.des2013-09-301-5/+1
| | | | Approved by: re (gjb)
* Don't parse NO_ROOT metadata for extra kernels if NO_ROOT isn't defined.jhb2013-09-241-0/+2
| | | | | Approved by: re (gjb) MFC after: 1 week
* Remove the armv6eb architecture as it is unused, and almost certainlyandrew2013-09-221-1/+1
| | | | | | | | broken. None of our kernels can boot armv6eb. The little-endian kernels do not have the required code to be able to switch endian when running a big-endian executable. Approved by: re (gjb)
* Fix 'make installcheck' to check for missing UID/GID as well, brokenbdrewery2013-09-181-7/+10
| | | | | | | | | | | | | | | | since r249893, by adding a separate _installcheck_world and _installcheck_kernel so the destination targets can be more explicit on which they are needed for. installcheck will call both, while installworld only calls _installcheck_world and installkernel only calls _installcheck_kernel While here, mark the internal targets as starting with _. Reported by: des Reviewed by: des Pointyhat to: bdrewery Approved by: re (delphij)
* Add unbound to the list of UIDs / GIDs to check fore before installing.des2013-09-171-0/+4
| | | | Approved by: re (blanket)
* Clean up the OpenSSH build. It is now possible to build most componentsdes2013-09-101-2/+9
| | | | | | | | | | as static binaries, if desired. The one exception is sshd, which runs into trouble due to libpam.a's includion of pam_ssh. Make OpenSSH use LDNS if available. This allows it to verify signed SSHFP records. Approved by: re (blanket)
* Create a private library directory (LIBPRIVATEDIR) for libraries whichdes2013-09-081-0/+1
| | | | | | | | | | | | | | we don't want to expose but which can't or shouldn't be static. To mark a library as private, define PRIVATELIB in its Makefile. It will be installed in LIBPRIVATEDIR, which is normally /usr/lib/private (or /usr/lib32/private for 32-bit libraries on 64-bit platforms). To indicate that a program or library depends on a private library, define USEPRIVATELIB in its Makefile. The correct version of LIBPRIVATEDIR will be added to its run-time library search path. Approved by: re (blanket)
* - Fix LOCAL_MTREE so it properly handles multiple files and quotesbdrewery2013-08-301-3/+3
| | | | | | | | | | its value into submakes PR: conf/179466 Submitted by: Garrett Cooper <yaneurabeya@gmail.com> Approved by: bapt MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Update nvi-1.79 to 2.1.1-4334a8297fpeter2013-08-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is the gsoc-2011 project to clean up and backport multibyte support from other nvi forks in a form we can use. USE_WIDECHAR is on unless building for the rescue crunchgen. This should allow editing in the native locale encoding. USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. This adds the ability to do things like edit a KOI8-R file while having $LANG set to (say) en_US.UTF-8. iconv is used to transcode the characters for display. Other points: * It uses gencat and catopen/etc instead of homegrown msg catalog stuff. * A lot of stuff has been trimmed out, eg: the perl and tcl bindings which we could never use in base anyway. * It uses ncursesw when in widechar mode. This could be interesting. GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1 Repo at: https://github.com/lichray/nvi2 Obtained from: Zhihao Yuan <lichray@gmail.com>
* Generate debug data release dist setsemaste2013-07-231-1/+29
| | | | | | | | If WITH_DEBUG_FILES is set the standalone debug data will be excluded from each ${dist}.txz and placed in a ${dist}.debug.txz. Submitted by: gjb Reviewed by: brooks
* Sprinkle some .MAKE magicsjg2013-07-061-13/+13
|
* Use && rather than ; when success of previous job matters.sjg2013-06-301-38/+38
|
* Simplify the hierarchy target's logic. [0]brooks2013-06-141-6/+8
| | | | | | | | | Run hierarchy with WORLDTMP in the path so it works when it is invoked directly. Such use is nearly alwasy wrong but appears to be common.[1] PR: conf/178209 [0], conf/178547 [1] Submitted by: Garrett Cooper <yaneurabeya@gmail.com> [0] MFC after: 5 days
* Flag recursive make targets with .MAKEsjg2013-06-141-0/+2
| | | | | | | | so that job token pipe is passed to them. To avoid surprising anyone, only add .MAKE to ${TGTS} when -n has not been specified (at least for Makefile). Reviewed by: obrien
* Be more agressive about bootstrapping ctfmerge and ctfconvert sobrooks2013-06-131-2/+2
| | | | | | | builds from existing releases have a chance of working properly. Sponsored by: DARPA, AFRL MFC after: 3 days
* Add a new knob WITH_DEBUG_FILES to control the building of standaloneemaste2013-06-071-0/+15
| | | | | | | | | | | | | | | | debug files for userland programs and libraries. The "-g" debug flag is automatically applied when WITH_DEBUG_FILES is set. The debug files are now named ${prog}.debug and ${shlib}.debug for consistency with other systems and documentation. In addition they are installed under /usr/lib/debug, to simplify the process of installing them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the base system place the standalone debug files in a .debug subdirectory. GDB automatically searches both of these directories for standalone debug files. Thanks to everyone who contributed changes, review, and testing during development.
* release: Allow empty extra distributions.jilles2013-06-051-1/+1
| | | | | | | | | | For example, WITHOUT_SHAREDOCS= in src.conf creates an empty doc distribution. Submitted by: Kurt Lidl Tested by: Kurt Lidl Discussed with: gjb MFC after: 1 week
* Restore (at least temporarily) SHARED=symlinks in the build includesbrooks2013-05-301-1/+1
| | | | | | stage of buildworld. This was accidentally included in r251140. Reported by: jhb
* Always define INSTALL_DDIR and define it such that it contains no extrabrooks2013-05-301-5/+6
| | | | | | | | / characters rather than removing them later on. This should fix release builds. PR: conf/178963 Reviewed by: gjb, hrs
* r245757 introduced warning output if update method is set to CVS_UPDATEgjb2013-05-281-57/+9
| | | | | | | | | | | or SUP_UPDATE. CVS exporter for head/ is turned off for nearly one month now. It is finally time to swing the ax at these update methods. Reviewed by: eadler MFC after: 1 month
* Update comments to reflect use of svn/svnup to keep the src/ tree upgjb2013-05-281-2/+2
| | | | | | to date. MFC after: 3 days
* Temporarily revert r251058 - it breaks documented use of makeoptionspeter2013-05-281-9/+2
| | | | | | | | | including the tinderbox. http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-i386.full make: don't know how to make modules-all. Stop make: stopped in /obj/i386.i386/src/sys/PAE *** Error code 2
* During buildkernel, print a banner before building modules.des2013-05-281-2/+9
|
* Remove backwards compat layer which was added in r71419 (in 2001).eadler2013-05-261-11/+0
| | | | | | This change is not intended for MFC. Reviewed by: peter
* Fix building on slightly older -current and stable systems aftermarcel2013-05-241-0/+5
| | | | | | | | | | the switch to bmake. The rescue bits are built via crunchgen, which didn't respect the MAKE environment variable until r237574 (i.e. ~11 months ago). This resulted in a failure due to bmake's internal -J flag being passed around and not being understood by the standard (i.e. host's) make. Note that the failure is conditional upon having the jobServer feature enabled within bmake.
* Connect flex 2.5.37 to the build and bump __FreeBSD_version.jkim2013-05-211-0/+5
|
* Restore the ability to build on systems with 32-bit compat whenbrooks2013-05-211-1/+3
| | | | | | | | the system compiler is not clang. clang and gcc appear to differ signficantly in their interpretation of -isystem and --sysroot. Further work is likely required to support an external gcc. Reported by: andreast, fidaj@ukr.net, sergey.dyatko@gmail.com
* Fix distributekernel in the non NO_ROOT case.brooks2013-05-201-0/+2
| | | | | PR: conf/178775 Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
* Implement NO_ROOT support for distributekernel and packagekernel.brooks2013-05-161-4/+29
|
* Add support for an external cross compiler. The cross compiler isbrooks2013-05-151-6/+63
| | | | | | | | | | | | | | | | | | | | specified by passing the XCC, XCXX, and XCPP variables (corresponding to CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be clang or be configured to target the appropriate architecture. To speed build times, if XCC is an absolute path or WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built during the cross-tools stage. Limited documentation of this feature can currently be found at: https://wiki.freebsd.org/ExternalToolchain This functionality should be considered experimental and is subject to change without notice. Sponsored by: DARPA, AFRL Discussed with: imp, sjg
* Add compile_et to kerberos bootstrap tools.antoine2013-05-111-1/+2
| | | | | | | | This makes it possible to build a regular world on a host without kerberos. PR: conf/178421 Submitted by: Garrett Cooper MFC after: 1 month
* Optimize SUBDIR_OVERRIDE such that SUBDIR isn't automatically defined ifbenno2013-05-011-3/+3
| | | | | | | | SUBDIR_OVERRIDE is defined. PR: conf/174071 Submitted by: Garrett Cooper <yaneurabeya@gmail.com> Sponsored by: EMC / Isilon Storage Division
* A transition period of more than two years is more than enough:eadler2013-04-291-7/+0
| | | | | | | | Remove the compatibility code added in 2011-02-10. This change is not intended for MFC Reviewed by: imp
* Fix installworld with DB_FROM_SRC after r249807bdrewery2013-04-251-0/+1
| | | | | Approved by: bapt Reported by: Tom Everett
* Fix installkernel requiring users/groups defined in CHECK_UIDSbdrewery2013-04-231-2/+1
| | | | | | | | | | | and CHECK_GIDS to exist since r152680. This is only needed for installworld. The documented procedure of running mergemaster -p to check for missing users is only needed for installworld, not for installkernel. This fixes auditdistd incorrectly being required for installkernel. PR: misc/174405 Approved by: bapt
* This should have been committed in r249666.trociny2013-04-201-1/+1
| | | | MFC after: 1 month
OpenPOWER on IntegriCloud