summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* Use cross-compile friendly spelling of CPUTYPE.obrien2005-12-071-2/+2
| | | | Submitted by: ru
* Style, no functional changes.ru2005-12-071-11/+7
|
* SSE2 comes thru the users choice of CPUTYPE.obrien2005-12-071-1/+1
|
* Default to producing 'k8' COMPAT_32BIT bits, but allow override.obrien2005-12-071-1/+6
|
* Back out my sh -> ${SHELL} change, since it will be a few days beforeimp2005-12-061-1/+1
| | | | | | I can fix it better. Requested by: ru@
* Switch BUILD_ARCH in Makefile to use uname -p suggested by ru.ambrisko2005-12-031-1/+1
| | | | | | | | | | | | | | Switch strncpy to strlcpy suggested by gad and issue found by pjd. Add to uname(3) man page describing: UNAME_s UNAME_r UNAME_v UNAME_m Add to getosreldate(3) man page describing: OSVERSION Submitted by: ru, pjd/gad Reviewed by: ru (man pages)
* Add support to easily build FreeBSD unpacked in a chroot of anotherambrisko2005-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | FreeBSD machine. To do this add the man 1 uname changes to __xuname.c so we can override the settings it reports. Add OSVERSION override to getosreldate. Finally which Makefile.inc1 to use uname -m instead of sysctl -n hw.machine_arch to get the arch. type. With these change you can put a complete FreeBSD OS image into a chroot set: UNAME_s=FreeBSD UNAME_r=4.7-RELEASE UNAME_v="FreeBSD $UNAME_r #1: Fri Jul 22 20:32:52 PDT 2005 fake@fake:/usr/obj/usr/src/sys/FAKE" UNAME_m=i386 UNAME_p=i386 OSVERSION=470000 on an amd64 or i386 and it just work including building ports and using pkg_add -r etc. The caveat for this example is that these patches have to be applied to FreeBSD 4.7 and the uname(1) changes need to be merged. This also addresses issue with libtool. This is usefull for when a build machine has been trashed for an old release and we want to do a build on a new machine that FreeBSD 4.7 won't run on ...
* In make buildenv, spell sh as ${SHELL}. In this case, we don't wantimp2005-12-011-1/+1
| | | | | | to hard code /bin/sh since we're forking it for the user to type commands into. As such, ${SHELL} is the preferred thing users type commands into.
* Revert revision 1.416 and don't create a hierarchy before installingru2005-11-251-6/+0
| | | | a kernel. It's slower and is generally only applicable to RELENG_4.
* Unbreak installworld.ru2005-11-221-1/+1
|
* Get rid of SPECIAL_INSTALLCHECKS variable that isn't settableru2005-11-221-9/+10
| | | | | | by a user. Instead, add individual checks as dependencies to the main "installcheck" target. Make sure that installkernel etc. depend on it (including the UID/GID checks).
* Fold some common stuff into a macro ${KMAKE}.ru2005-11-221-8/+5
|
* Add the NO_INCS knob to bsd.prog.mk and bsd.lib.mk to not includeru2005-11-191-1/+1
| | | | | | | | | | bsd.incs.mk, and use it when installing 32-bit compat libraries on amd64. This causes it to *not* overwrite native headers with i386 versions, which was the case with <fenv.h> and <vgl.h>. PR: amd64/83806 Prodded by: bde MFC after: 1 week
* Speed up stale catpages hunting by not running sed(1) for every catpage.ru2005-11-121-18/+15
|
* Don't check DESTDIR when making distributeworld; the latter expectsru2005-11-121-0/+2
| | | | | | DISTDIR. Reported by: nyan
* Add missing shared library interdependencies.ru2005-11-101-4/+3
|
* Require DESTDIR to be set when installing for a different architecture.ru2005-11-071-0/+12
|
* Serialize access to the info/dir file; needed for parallel installs.ru2005-11-031-1/+1
| | | | | | | | | Reported by: scottl I'm not very fond of using the non-standard lockf(1) here, but I have no better idea at the moment. NetBSD uses ln(1) to create a lock file, but this approach can result in a deadlock if make is interrupted, leaving an orphaned lock file.
* Force an upgrade to Groff 1.19.2.ru2005-10-201-1/+1
|
* Fix a couple of typosbrian2005-08-231-1/+1
|
* Fix the "unexpected operator" bug some people are seeing.netchild2005-08-201-2/+2
| | | | First noticed by: kris
* Remove cat-pages without corresponding man-pages.netchild2005-08-071-0/+22
|
* - clean ${LIB32TMP} in _worldtmpru2005-08-051-0/+7
| | | | | - clean ${OBJTREE}/lib32 in _cleanobj - ensure that ${WORLDTMP} exists in build32
* - Remove duplicate setting from LIB32MAKE definition.ru2005-08-031-12/+6
| | | | - Install lib32 bits using the real install(1) program.
* Make delete-old* and friends useable for cross-builds.ru2005-08-031-18/+0
|
* - Only make the delete-old related parts visible if one of the 3 targetsnetchild2005-07-301-0/+6
| | | | | | | are called (wrapped in ".if make(...)"). This may reduce the amount of memory needed for all other targets (the file lists are already large and they will grow further). - Be verbose in the batch case of the delete-old part too.
* Enforce the native environment requirement for {check,delete}-old-* atdes2005-07-301-6/+6
| | | | | | run time, not parse time. This unbreaks cross-builds. Pointy hat to: netchild
* - Move recently added dir into the correct section.netchild2005-07-291-6/+6
| | | | | | | | | | | | - Add a note about the organisation of the sections. - Expand shell globs (they worked in a previous version of the delete-old target, but not in this one). - Use the correct way of checking for a native environment. [1] - Add some more obsolete files. - Fix some bad english. [1] Suggested by: ru [1] Approved by: mentor (joerg)
* Disable thread support in BIND. It appears to reduce performance ratherdes2005-07-251-8/+0
| | | | | | | | than increase it, and seems to be the cause of the memory leaks which some users have reported. Requested by: dougb MFC after: 5 days
* Add delete-old and delete-old-libs targets:netchild2005-07-231-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - removes obsolete files/dirs or libraries. - works in interactive (default) and batch mode - respects DISTDIR - documented in UPDATING and build(7) The head of the file ObsoleteFiles.inc contains instructions how to add obsolete files/dirs/libs to the list. Obviously one should add obsolete files to this list, when he removes a file/dir/lib from the basesystem. Additionally add check-old target: - allows re@ to check if a file on the obsolete list resurfaces Design goals: - allows full control by the user (default interactive mode) - possibility of scripted removal of obsolete files (batch mode) - opt-in removal of files (explicit list of files) - seperate removal of libs (2 delete targets) Important design decissions: - structured list of files to remove instead of a plain text file: * allows to remove additional files if a NO_foo knob is specified without the need to change the targets (no NO_foo knob is respected yet) - not using mtree like NetBSD does: * mtree doesn't has an interactive mode Discussed on: arch (long ago), current (this year) Additional input from: re (hrs) Approved by: mentor (joerg)
* Make the `distrib-dirs' target official and working properlyru2005-07-151-2/+2
| | | | | when cross-building (installing). (This is useful for NFS installing world/kernel to another architecture machine.)
* Exclude build32 target from the list of toolchain and kernel-toolchainkan2005-07-071-1/+1
| | | | | | | | dependencies. We do not need to build 32bit compat tools to compile a kernel. Approved by: re (scottl) Reported by: jhb
* Provide 32-bit runtime support on amd64 as a separate distribution, lib32.ru2005-06-161-6/+13
| | | | | | Prodded by: obrien Nodded by: peter Approved by: re
* Allow to override the compiler, linker, and assembler used to build 32-bitru2005-06-061-10/+10
| | | | shim libraries on amd64.
* Add install-info to the list of install tools now that we don'tru2005-05-311-1/+1
| | | | | | always bootstrap texinfo. Reported by: scottl
* Stop redundantly rebuilding texinfo on the next __FreeBSD_version bump.ru2005-05-231-1/+5
|
* Remove lame and ineffectual attempt to fix ipf breakage of tenderbox.imp2005-05-011-1/+0
|
* Add some subversive code to cleandir: remove the sbin/ipf treeimp2005-04-301-0/+1
| | | | | entirely to fix the tinderbox machine. This change will be reverted once the tinderboxen are tindering again.
* Merge from RELENG_5: invert WITH_LIB32 into NO_LIB32 so that we build thepeter2005-04-061-2/+2
| | | | | 32 bit libraries by default. Define NO_LIB32 in make.conf if you do not want this.
* Fix the lib32 build for amd64 after v1.238 of src/include/Makefile (imp).peter2005-04-061-0/+1
| | | | That change exposed the fact that I'd forgotten to set $MACHINE here.
* Fix AMD64 cross-builds when WITH_LIB32 is defined.ru2005-03-271-4/+4
| | | | (Initially spotted by kris@ on RELENG_5.)
* Protect against DESTDIR being set during the build of build32.ru2005-03-221-2/+2
| | | | Reported by: pav
* Add hacks that I use to test cross-builds (by building onru2005-03-021-2/+2
| | | | | | | | native and foreign architectures and comparing products). They eliminate most of the differences caused by different object directory paths, timestamping, and identification. (Note WORLDTMP was renamed to ${OBJTREE}${.CURDIR}/tmp.)
* Bootstrap pwd_mkdb(8) and use its new feature during "make distribute".ru2005-02-281-1/+6
|
* Accept the old user interface for NO_CLEAN as it is a POLA violation asobrien2005-02-281-0/+3
| | | | we've eventually changed the user interface of a common command.
* Unbreak buildworld.ru2005-02-281-5/+6
|
* Make the format of LC_COLLATE files architecture independent.ru2005-02-271-1/+5
|
* Bootstrap gencat(1).ru2005-02-271-0/+5
| | | | OK'ed by: phantom
* Added the convenience "distribution" target which calls theru2005-02-271-0/+3
| | | | | | target of the same name from src/etc/Makefile with a proper environment, suitable to be used during upgrades and cross- builds.
* Make it clear we no longer support source upgrades fromru2005-02-271-0/+4
| | | | versions prior to 5.3.
OpenPOWER on IntegriCloud