summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Upgrade our copy of llvm/clang to trunk r178860, in preparation of thedim2013-04-121-1/+1
| | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished.
* Fix xdev-install when installing to a location other than /andrew2013-03-311-3/+4
|
* Fix xdev. Clang and libc were not building correctly on older worlds, forandrew2013-03-311-7/+27
| | | | | | | | | example, on 9.1. * To fix clang add an _xb-bootstrap-tools target that mirrors the existing bootstrap-tools target in the full world. * For libc have the compiler use the newly installed includes, and, while here, tell the compiler about the xdev library path as some other libraries will link against the installed libraries.
* Fix a typo, 'xdev-build' should be spelled with a 'd' at the end.rene2013-03-271-1/+1
| | | | Approved by: cognet
* libzfs_core depends on libnvpair, explicitly say this in Makefile.inc1.delphij2013-03-051-0/+1
| | | | This fixes build with make -j.
* WiP merge of libzfs_core (MFV r238590, r238592)mm2013-03-051-0/+2
| | | | not yet working, ioctl handling needs to be changed
* In all situations where we need to bootstrap yacc, we also need todes2013-02-251-1/+2
| | | | | | | | | | bootstrap liby. This was not readily apparent, because a normal 'make buildworld' or 'make toolchain' builds liby before building anything that uses yacc. However, 'make kernel-toolchain' does not build headers or libraries, so it was not possible to build a kernel from head on, say, stable/9 without first building the complete toolchain. MFC after: 1 week
* - Fix libmd dependency. It is needed in the bootstrap library list becausehrs2013-02-141-0/+1
| | | | | | | usr.bin/xinstall depends on it. - Remove libutil from usr.bin/xinstall/Makefile. No symbol was actually used. Reviewed by: brooks
* Add nmtree to ITOOLS if it is installed on the host instead of keying offbrooks2013-02-091-2/+4
| | | | | | | the BOOTSTRAPPING variable. The previous test was wrong because BOOTSTRAPPING is 0 in most cases. Tested by: db
* Fix xdev by using the install shell script as it knows about the -landrew2013-02-041-1/+2
| | | | argument thile the local version install may not.
* - Add CHECKSUM.* support in Makefile[1].hrs2013-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]
* Log the addition of login.conf.db, passwd, pwd.db, and spwd.db via cat -l.brooks2013-01-291-2/+7
| | | | Make cat a bootstrap tool to facilitate this.
* Fix installworld when nmtree is not on the host by only adding it tobrooks2013-01-291-3/+5
| | | | | | ITOOLS when we will be using the host copy. Fix installkernel when -DNO_ROOT is set.
* Fix installworld when the host does not need to bootstrap nmtree.brooks2013-01-291-1/+1
| | | | Reported by: lev, jmg
* Fix update method (s/SUP/CVS) warning.gjb2013-01-251-1/+1
| | | | | Submitted by: Ryan Stone MFC after: 1 day
* Strip any trailing slash off of the -D argument to install to support thebrooks2013-01-241-1/+1
| | | | rather fragile destdir stripping in the metalog.
* Introduce a new option -DNO_ROOT that allows install and distributionbrooks2013-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
* Fix spurious leading / on dtc path in Makefile.inc1. Spotted by jhb.theraven2013-01-221-1/+1
|
* Import new (BSDL) device tree compiler. Now built by default, so that it can'ttheraven2013-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.
* Chase r245756 of make.conf(5):gjb2013-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
* Always bootstrap nmtree if it is not available on the host. It is fairlybrooks2013-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.
* Remove a harmless (somewhat to my surprise) bogon that crept into r245440.brooks2013-01-181-1/+0
|
OpenPOWER on IntegriCloud