summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
...
* Add the -r flag to CONFIGARGS instead of assigning to it so thatmarcel2000-01-111-1/+1
| | | | | | it's more easy to build a kernel with debugging information. Suggested by: sheldonh
* Add a buildkernel and an installkernel target. With these targetsmarcel2000-01-091-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | users can more easily upgrade. buildworld now makes usr.sbin/config in bootstrap-tools so that when you first make buildworld, buildkernel will use config(8) from the temp. world tree (and of course also the compiler). Which kernel to built is determined by the KERNEL variable. You can have as many kernels listed as you like. When a config file exists for the given MACHINE it will be built. When KERNEL has not been defined it will be set to "GENERIC GENERIC98". The first valid kernel named in the list will be used by the installkernel target. When NOCLEAN is defined the kernel object directory is *not* removed by config first. This is in line with normal buildworld behaviour. The buildkernel target makes aicasm in sys/dev/aic7xxx first and unconditionally. This hack allows us to cross-build kernels and can go away when the problem is solved in a structural way.
* Add btxld to the list of cross-tools on machines that don't have itmarcel2000-01-041-2/+6
| | | | natively (ie non-i386 architectures).
* Grrrr... This was supoosed to go with the commit to kerberosIV/.../libroken'smarkm1999-12-301-1/+6
| | | | | | | | Makefile. Fix make world by building appropriate build-tools. Submitted by: marcel
* Restore changes I spammed.obrien1999-12-291-0/+4
|
* Allow the specification of a prefix for gcc to find all the various bits.obrien1999-12-291-4/+1
| | | | | | | If one wishes to anchor the compiler toolchain tree somewhere other than /, all one needs to do is set "TOOLS_PREFIX" to a different rooting. Submitted by: marcel (in a different format and reworked by me)
* Only make beforeinstall in libcrypto/libssl if they actually exist. I haven'tkris1999-12-291-0/+4
| | | | | | imported these on Freefall yet for the reasons previously explained. Noticed by: asami
* Oops, the previous commit was bogus. I shouldn't commit something withoutasami1999-12-291-1/+1
| | | | | | | reading all my mail. I still don't understand why this was was committed on freefall before the libcrypto and libssl subdirectories were imported on freefall though.
* Typo (libcrypto -> libcrypt).asami1999-12-291-1/+1
|
* Build openssl properly during make world.kris1999-12-281-1/+4
|
* Don't build caesar as a tool. fortune(6) doesn't depend on itmarcel1999-12-231-3/+3
| | | | | anymore. Update comments and variable names as well to wipe out any traces that may confuse people in the future.
* Revert previous commit, andmarcel1999-12-231-7/+5
| | | | | | | | | | | | | | o Add genassym to the list of cross-tools o Remove sh hashing work-around, we don't need it anymore o Clean more directories in WORLDTMP when NOCLEAN is specified The sh hashing work-around is not needed anymore, because we don't trigger the bug anymore. When NOCLEAN is not defined, we wipe out the complete WORLDTMP, including the object directories of the tools we have built. When NOCLEAN is defined, we remove anything that we install anyway, which is usr/bin, usr/games, usr/include, usr/lib and usr/sbin.
* Add ${WORLDTMP}/sbin to ${STRICTTMPPATH} - sysctl not found otherwiseache1999-12-221-1/+1
|
* o make SHARED=symlinks a caller defined instead of a callee definedmarcel1999-12-201-58/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | property. This fixes the includes target when DESTDIR is empty. o Do not make build-tools for f771 when NO_FORTRAN is defined. o Add new build stage. See below. o Change banners so that staging information is displayed. The addition of the build-tools target broke the upgrade path because we couldn't make use of previously built tools that were made for compatibility reasons. Doing so would also result in the cross-compiler being used and that is exactly what had to be avoided. This is solved by designating the bootstrap-tools stage for building anything that is needed for compatibility only and to create a new stage (started after the build-tools stage) that handles cross-tools building. We now have the following stages: 1. bootstrap-tools (for compatibility issues only) 2. build-tools 3. cross-tools (what it says) 4. world 5. install Stages 1-4 (inclusive) are handled by buildworld. Stage 5 is handled by installworld. Any more stages and I'll join Nik in his quest for the holy grail^W^Wworld :-)
* Don't build usr.sbin/pcvt/keycap on anything other than i386 whenmarcel1999-12-171-1/+5
| | | | building the libraries target. pcvt is i386 specific.
* o Add games/caesar to the list of bootstrap-tools so that amarcel1999-12-161-19/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | buildworld doesn't break because the host doesn't have any games installed, o Add a new build stage: TMAKE. TMAKE builds all the build-tools targets in the respective makefiles. Note that these targets don't use the bootstrap tools, o Add elf2exe to the bootstrap-tools when cross-building Alpha on other platforms, o Add ${WORLDTMP}/usr/games to TMPPATH, o Remove ${WORLDTMP}/usr/bin even when NOCLEAN is defined. This prevents using any bootstrap-tools previously installed. Most importantly, it prevents using the cross-compiler when we still need the native compiler. The current stages are BMAKE, TMAKE, XMAKE and IMAKE in that order. BMAKE builds bootstrap-tools that either solve compatibility problems or are needed as cross-tools, TMAKE builds the support tools necessary by some parts in the source tree and also performs the cleandir and par-obj targets, XMAKE builds the includes, libraries and everything (resp.), and IMAKE installs the world. This stage needs further work if it's to be used to install -current over -stable for example. This is the last major update towards cross-building.
* It is possible for someone to want to 'make update' wht SUPFILE not definedbillf1999-12-161-0/+2
| | | | while SUPFILE1 or PORTSSUPFILE are defined.
* Add colldef to the list of tools. It's needed on older systems.marcel1999-12-121-2/+2
|
* o Add gensetdefs to the list of tools.marcel1999-12-121-4/+4
| | | | | | o Don't set CFLAGS in the bootstrap env. It is very likely to be overridden my any CFLAGS setting in /etc/make.conf. Setting it here is almost useless. So far, it doesn't seem necessary.
* Build a.out tools if MACHINE_ARCH == i386 and MACHINE == pc98.nyan1999-12-121-2/+10
| | | | | | The boot2 for pc98 is still a.out program. I made the original patch, and many problems were fixed by Marcel Moolenaar.
* Don't add MACHINE_ARCH to MAKEOBJDIRPREFIX when not cross-building.marcel1999-12-111-0/+4
| | | | | | This should fix make release. Reported by: jhay, phk
* o Don't make games/fortune/strfile if games does not exist or NOGAMESmarcel1999-12-101-5/+9
| | | | | has been defined. o Make libraries before making depend.
* Remove installworld related settings that I had as a safety-net andmarcel1999-12-101-3/+1
| | | | for development. :-/
* More cross-building related changes:marcel1999-12-101-67/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Build tools before doing anything in or with the object tree. o Tools don't use the object tree any more, but have there object tree located in the temp. world. o Use the proper make env. for cleaning and building the object tree. o Don't create kernel include subdirectories in the temp. world. These are removed later on and replaced by symlinks. o Change the layout of the object tree: The temp. world now is /usr/obj/${MACHINE_ARCH}${.CURDIR}/${BUILD_ARCH}. /usr/obj can be set/changed by using MAKEOBJDIRPREFIX, and {.CURDIR} obviously depends on where the source tree is located. MACHINE_ARCH is the arch. for which the world is to be build and BUILD_ARCH is the arch. on which we are building. The object tree now is /usr/obj/${MACHINE_ARCH}${.CURDIR}. This allows concurrent cross-builds and allows the object tree to be shared on different archs., each doing the same cross-build. This of course assumes that the output on Alpha (for example) is the same as the output of an Alpha cross-build on i386 (for example). The use of NOCLEAN is is still dangerous, but should be usable in many more situations than before. It should now be possible to safely restart an interrupted build with NOCLEAN without side-effects. Because the tools don't share the object tree with the normal (cross-build), no tools have to be rebuild.
* Don't make gdb, objc and f77 when building tools.marcel1999-12-091-1/+3
|
* Make sure the links to the source tree end up in the source tree.marcel1999-12-091-0/+1
|
* o Add usr/lib/compat/aout to the temp world. This is needed by release.marcel1999-12-091-2/+2
| | | | | o If you can't beat them, join them: use symlinks to populate the obj tree. This avoids using mtree.
* Restore the upgrade path from -stable to -current and prepare formarcel1999-12-081-607/+92
| | | | | | | | | non-root cross-building. o Makefile.inc0 is not used anymore. o The legacy aout build has been removed. o Selectively build tools *before* building includes/libraries. o Avoid using mtree to populate the obj tree.
* Place netgraph entry into alphabetical positionjulian1999-11-251-3/+3
| | | | along with the misplaced entries that it was next to.
* Revert to rev 1.91. Revs 1.9{2,3} were causing problems for people withobrien1999-11-241-56/+142
| | | | | | | | | | | pre-Aug 4.0-CURRENT worlds and those with pre-GCC 2.95.2 worlds. The problem with pre-Aug worlds is the installed Byacc and Bison doesn't have necessary changes to compile either GCC 2.95 or EGCS 1.1.x. The problem with pre-GCC 2.95 worlds is libgcc is built with the wrong compiler. See rev 1.17 of src/gnu/lib/libgcc/Makefile (which used to live in src/gnu/usr.bin/cc/libgcc) + commit messge for details of the requirements.
* Fix some bugs and make some policy changes.marcel1999-11-231-4/+7
| | | | | | | | | | | | | o Send libmytinfo back to the afterlife. It was revived by mistake, o Make gnu/lib/libgcc before making lib/libpam. This dependency has been overlooked in constructing the list, o make depend before make all. It's by using make depend that the dependency was found in the first place and we need it to prevent cleaning everything up before we start, o Don't specify -DNOINFO -DNOMAN for the libraries target. Let the target handle it. We can do away with a single run over the libs if we make everything while we're there and only install the libraries in the object tree.
* Build tools against the host's includes and libraries. Also, don'tmarcel1999-11-211-140/+51
| | | | | | | | | | | | | | | | | | | | | build make(1) twice and merge the bootstrap-libraries and libraries targets. This change solves the bug where build-tools, compiled against the includes and libraries built from the sources failed to run on the host, as was the case with the sigset_t change. With this update, a buildworld will fail if the tools won't compile on the host. This is solved in further commits where backward compatibility of the tools is enlarged. The libraries target has been fixed. The libraries are now build in the proper order, satisfying the dependencies. The comment is updated to reflect this. The linux module and netboot have been removed from the list of tools. More to follow. Reviewed by: bde, imp
* Remove CROSS_MAKE_FLAGS.marcel1999-11-151-13/+2
|
* ${MACHINE} -> ${MACHINE_ARCH}marcel1999-11-141-3/+3
| | | | | | | | | | | | | | | | All Makefiles now use MACHINE_ARCH for the target architecture. Unification is required for cross-building. Tags added to: sys/boot/Makefile sys/boot/arc/loader/Makefile sys/kern/Makefile usr.bin/cpp/Makefile usr.bin/gcore/Makefile usr.bin/truss/Makefile usr.bin/gcore/Makefile: fixed typo: MACHINDE -> MACHINE_ARCH
* install netgraph.h a bit earlier.julian1999-10-251-0/+1
| | | | Submitted by: Boris Popov <bp@butya.kz>
* Make libncp actually compiled.bp1999-10-141-0/+1
| | | | Reviewed by: mdodd
* Add libkvm to the includes target.peter1999-10-041-0/+1
|
* Minor (but important) comment change.markm1999-09-201-1/+1
|
* FIxed disorder in the comments about library build order.bde1999-09-041-4/+4
|
* Further preparation for tn3270's demise.markm1999-08-311-1/+0
|
* Update for ncurses5 aftermath..peter1999-08-301-15/+6
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Remove f2c-related stuff from the "includes" target and from ajdp1999-08-081-3/+2
| | | | comment. Fixes broken make world.
* Add usr.sbin/elf2exe to the build-tools target on the Alpha. Thisjdp1999-08-061-1/+5
| | | | fixes the make buildworld breakage in sys/boot/arc/loader.
* Per requests from the community, commit rudimentary cross compilationimp1999-07-071-8/+61
| | | | | | | | | | | | support. I've been building world with these changes for months w/o ill effect. I've also managed to build the cross tool chain for MIPS with these patches. Please note that the extent to which these patches work is largely dictated by how well our tool chains support the cross compilation. Building alpha binaries on i386 doesn't work. Supposedly building i386 binaries on alpha does work, but I've not verified it with these patches, however.
* ${.CURDIR} doesn't have to be /usr/src, especially in a cvs checkout. Makebillf1999-06-041-2/+2
| | | | | | sure what is reported to the user is accurate. Stolen From: mharo
* 'make update' in the ports directory.billf1999-06-011-1/+4
|
* Document NO_FORTRAN.obrien1999-05-031-1/+2
|
* Perl is moving up a maintenance version.markm1999-05-021-7/+7
| | | | | While I'm here - reorder crypto directories to better support dependancies. Perl and others like it better that way.
* Change 'exists()' constructs to refer to directories in ${.CURDIR}.jkoshy1999-04-201-21/+22
| | | | | | | | Tested with a make world. PR: misc/4395 Submitted by: J Wunsch Reviewed by: bde
OpenPOWER on IntegriCloud