summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* Removed some garbage (genassym(8) and its infrastructure).bde2001-02-171-1/+1
|
* Fix make world.markm2001-02-141-2/+1
|
* Provide backwards compatable recognition of ${KERNEL}. You should bepeter2001-01-231-0/+11
| | | | | able to use KERNEL= again with buildkernel, but it will point you at KERNCONF= and press on regardless.
* Sigh, I thought we still had the rm -rf objdir stuff in make world, whichpeter2001-01-221-1/+2
| | | | | | | would have taken care of the possibility of buildkernel crossing over from one binutils set to another. Back out the part about turning off 'make clean' if the 'make depend' is still active, but add a NO_KERNELCLEAN target instead that works like NOCLEAN but just for the kernel.
* Use 'make clean' instead of 'config -r', and only if the 'depend' step haspeter2001-01-221-4/+4
| | | | | been skipped. We went to a lot of trouble to make the 'blow away' stage unneeded, and it has not been needed for quite some time.
* As threatened in hackers@ on Friday, obviate the need for a buildworldimp2001-01-221-2/+7
| | | | | | | | | to preceed a buildkernel. The buildworld is still required when upgrading across major releases, across binutil upgrades and when config changes version. If buildkernel breaks, and you haven't done a buildworld, then do not complain unless you do a buildworld and it still breaks.
* Using "KERNEL" for buildkernel was a very very bad mistake. $KERNEL ispeter2001-01-221-4/+4
| | | | | | | | | | | | | already used by the kernel makefiles themselves, and this leads to a lot of trouble when people put "KERNEL=MYKERNEL" in make.conf. Bite the bullet and change it to KERNCONF instead, before it gets too far entrenched. The kernel Makefiles use ${KERNEL} as the name of what to install the kernel as, eg: /boot/${KERNEL}/kernel or /${KERNEL}. This leads to much unhappiness with things like /LOCAL instead of /kernel. buildkernel is severely limited as it is only useful directly after a buildworld. Reviewed by: jhb
* Also add some timing information for kernel builds so that it'sjkh2001-01-211-2/+5
| | | | | easy to do "make world kernel |grep -e '^>>>'" and get a complete event log.
* Create a build-tools target for sysinstall and rtermcap. This is stillpeter2001-01-191-1/+1
| | | | | | | not right because rtermcap would be reading the *host* termcap, not from the termcap in the src tree. Besides, /usr/sbin/sysinstall (not the crunched one in /stand) should use the runtime termcap not the precompiled set.
* Removed pc98-hack of aout tools.kato2000-12-241-10/+1
|
* Fix cross-building once again.marcel2000-12-031-1/+1
| | | | Forgotten by: ache
* Fix release, broken by the perl cross-build fixes.marcel2000-11-211-0/+9
| | | | | | | | | The distribute target is basicly the same as an install. For perl, this means that miniperl is needed. Since miniperl is only present in the object directory, we need to make sure the path is set correctly. To do this, we have make release use a new distribworld target that sets the path before doing a make distribute.
* Fix cross-building.marcel2000-11-201-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Move building libperl and miniperl from build-tools to cross-tools. libperl uses MACHINE_ARCH to determine the right configuration, which doesn't match the build machine when cross-building if they are built as build- tools. o Since miniperl needs to be built as a cross-tool, it needs to be installed under /usr/obj so that it can be used (cross-tools have a special object directory to avoid build conflicts. As a downside, you can't easily run cross-tools from their object directory). Remove the install and distribute override targets. To avoid having miniperl installed by installworld, remove it from SUBDIR. o We can't pickup miniperl from the object directory but since it's installed, depend on PATH. This is save, because the makefiles are run with a known path. o Build libperl again as part of the library target. A _libperl variable existed, but it was never defined. o Add chmod to the list of saved tools, because perl conditionally uses it during install. The bootstrap-tools and cross-tools targets are modified to avoid building profiled and shared libraries. While here, have these targets build static binaries instead of shared binaries. Approved by: markm
* libgcc now needs to be built earlier in the build.obrien2000-11-101-5/+6
| | | | Submitted by: jdp
* * Bring back the guts of crt{i,n}.S. This allows C++ exceptions to workobrien2000-10-281-1/+2
| | | | | | | | | | | | | | | | | | | when using the egcs and gcc-devel ports, along with GCC built from stock public FSF sources. With out this change, FreeBSD will be removed from the list of systems GCC 3.0 must be evaluated on before release. With the effort some of us put into getting FreeBSD on this list, we should not turn this effort into a waste, else we might not be worth fighting for in the future. (note that Alpha and IA-64 versions of crt{i,n}.S are needed) * Switch from our own crt{begin,in} to those created from GCC's crtstuff.c. This will allow us to switch to DWARF2 exceptions in the future, along with staying in sync with any future GCC requirements. * Break out our ELF branding bits into a seperate file. Currently this is now included by our crt1.c files (since this functionality was part of our native crtbegin.c). Later crtbrand.o will be merged in the creation of crti.o.
* Fail the 'buildkernel' target if not even one of the specified kernel ↵jkoshy2000-10-251-0/+4
| | | | | | | | configuration files was found. Reviewed by: obrien
* Number the stages in the documentation to match what is printed out whenobrien2000-10-131-5/+5
| | | | running.
* This is really gross.gibbs2000-09-181-2/+2
| | | | | | | | | | If a user decides to forego a make depend during "make buildkernel", they should get what they deserve if no previous make depend has been run for that kernel. Instead, the build process includes special instructions to unconditionally rebuild aicasm. When aicasm moved to its own directory, this hack broke. Correct the hack until a get buy off on killing it.
* Add reinstallkernel target. Does same thing as installkernel, butimp2000-09-171-0/+3
| | | | | executes the reinstall target rather than the install target that installkernel does.
* Include libfetch in the includes target.des2000-09-091-0/+1
|
* USA_RESIDENT is no longer required for buildworld, do not force it.peter2000-09-091-12/+0
|
* Allow one to specify what the installed kernel's name is by settingobrien2000-09-031-3/+11
| | | | | | "INSTKERNNAME". Reviewed by: marcel
* Define SUPHOST. If this is set a '-h ${SUPHOST}' is added to thejoe2000-08-131-0/+3
| | | | | | SUPFLAGS when a 'make update' is run. This means that the supfile doesn't need to be edited because the -h will override the CHANGE_THIS.FreeBSD.org host.
* Make the update target consistent; both ports and doc are updatedsheldonh2000-08-071-1/+6
| | | | | | | | | | | if their SUPFILE variables are defined _and_ NO_PORTSUPDATE and NO_DOCUPDATE respectively are not defined. Previously, only ports was updated and there was no way to prevent this without undefining its SUPFILE variable. PR: 17514 Reported by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Fix buildkernel and installkernel when KERNEL is defined inmarcel2000-08-031-3/+3
| | | | | | | /etc/make.conf. PR: 20325 Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
* Argh... mtree has been removed from the bootstrap-tools. In thatmarcel2000-07-231-2/+2
| | | | | | case we need to save it in installworld. That latter I forgot... Pointy hat: me
* Name all kernels 'kernel'. This fixes the incompatible behaviourmarcel2000-07-231-5/+3
| | | | | | | | | of the buildkernel and installkernel targets where the kernel was called after the config name. While here, fix the brokenness of the installkernel target. It used to use ${IMAKEENV}, but since that has a very restricted PATH, it couldn't find make(1). Use ${CROSSENV} instead.
* Remove mtree for bootstrap-tools. The -L switch change has beenmarcel2000-07-231-1/+1
| | | | backed out.
* Don't save cp(1) in installworld. Its use has been replaced bymarcel2000-07-231-1/+1
| | | | a use of install.
* Add awk and wc to the list of copied binaries for the installworldmarcel2000-07-201-2/+2
| | | | | | target. These are needed by liloldr. Found by: make release
* Add cp(1) to the list of binaries we need to save. The cp(1) commandmarcel2000-07-191-2/+3
| | | | | is used by the installation of ld-elf.so when an existing version exists.
* Don't save install-info. We already have that built. We'll usemarcel2000-07-191-3/+2
| | | | the one we built anyway.
* Save any binaries we use by installworld, so that we won't use themarcel2000-07-191-2/+13
| | | | | | | binaries we just installed. This allows a future upgrade target to install a new system without intermediate reboots and also prevents conflicts for parallel make runs where we might exec a binary that's being installed at the same time.
* Move mtree to bootstrap-tools and add PATH=${TMPPATH} to IMAKEENV to pick itache2000-07-181-4/+4
|
* Add mtree to cross-tools to make it updated for new -L optionache2000-07-181-1/+2
| | | | It must solve make world breakage
* Perl's version number needs to change.markm2000-07-021-1/+1
|
* Rearrange Perl's build priority; it needs to get made earlier.markm2000-06-251-6/+6
|
* Add -DNO_KERNELDEPEND and -DNO_KERNELCONFIGbrian2000-06-151-2/+10
| | | | Not reviewed by: sheldonh
* Set KERNEL=${INSTALLKERNEL} doing a make install in /sys/confbrian2000-06-091-1/+1
|
* GENERIC98 is removed.nyan2000-05-051-1/+1
|
* Make gperf be a bootstrap-tool, since we now depend on features ofwollman2000-04-271-1/+1
| | | | | | the specific version in -current. Approved in principle by: marcel
* Revert my changes to make gperf a build-tool; that was the wrong thing.wollman2000-04-271-2/+2
| | | | | All builds had been broken; now just upgrade builds are until I or someone else can figure out the Right Thing.
* Add gperf(1) to build tools. It should have been one before, butwollman2000-04-271-2/+2
| | | | gcc does not depend on version-specific gperf behavior (yet).
* Create ${KRNLOBJDIR} before running config(8), since config(8) doessheldonh2000-04-271-0/+1
| | | | | not create required parent directories of the kernel compile directory specified with its -d option.
* Unbreak make world (libpam depends on libopie)kris2000-04-171-3/+4
|
* Fix the buildkernel and installkernel targets for the case wheresheldonh2000-03-301-3/+5
| | | | | | | KERNEL specifies multiple kernels. PR: 17536 Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
* Get rid of "sticky" files when updating sources with cvs(1).ru2000-03-291-1/+1
| | | | Approved by: peter
* Buildworld fixes for NO_OPENSSH and NO_OPENSSLkris2000-03-091-3/+3
| | | | Approved by: jkh
* A lot of tools need to be built before compilation proper can happen.markm2000-02-281-2/+3
|
* We have a new world order in libraries.markm2000-02-241-5/+5
| | | | Goodbye libdes; Welcome libcrypto.
OpenPOWER on IntegriCloud