Commit Graph

15 Commits

Author SHA1 Message Date
lukem
ed56ec3a05 Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

    SMALLPROG		If 1, add SMALLPROG=1 to CRUNCHENV.  [default: 1]
			This can be used by various Makefiles to
			determine if a `small' version of the program
			is required.

    SMALLPROG_INET6	If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
			to CRUNCHENV.  [default: 0]
			This can be used by various Makefiles to
			determine if the `small' version has INET6
			support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
2002-10-17 02:05:35 +00:00
itojun
0c74b798cb make macppc install floppy IPv6 ready
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
2002-06-18 02:02:20 +00:00
tv
7ec460046d Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=. 2001-12-12 00:05:09 +00:00
jmc
0eadbed94d Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels
2001-10-05 01:17:27 +00:00
martin
c45ea630d3 Drop ``-Os'' on sparc64 due to toolchain issues.
The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
2001-08-20 12:19:43 +00:00
minoura
56165ba9c6 Enable INET6 on x68k.
Use ${MACHINE} instead of ${MACHINE_ARCH}, since the installer is
built per-${MACHINE} based.
2000-09-05 16:06:49 +00:00
matt
9b64288b04 Part II. Link everything -static since that's what want for crunchgen
later on.
2000-05-18 01:10:22 +00:00
matt
e123fd0f5a Compile things with -Os. I wonder if compiling -Mno-pic for mips and vax
would shrink them even more?
2000-05-18 00:43:05 +00:00
itojun
1f8a9e6165 supply IPv6-ready route(8) for i386 and hpcmips
(those who has IPv6-ready sysinst already)
2000-05-04 03:30:57 +00:00
cgd
40587021a6 dependencies on BSDSRCDIR should be _removed_, not introduced. Use
paths relative to ${.CURDIR} instead.  Using BSDSRCDIR here means that
it's impossible to compile these programs out of the source tree they're
a part of, unless that sort tree happens to be the one at BSDSRCDIR.
1999-06-21 01:19:36 +00:00
gwr
14ec5cd1da Things in distrib/utils need to know BSDSRCDIR anway,
so we might as well use it.  Lots simpler.
1999-05-19 04:17:49 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem
07b16fa2db use CPPFLAGS instead of CFLAGS 1997-10-22 02:20:09 +00:00
gwr
a56800e144 The sources over in ../../../sbin/route/ now do what this wants,
so use those instead of the versions that were copied here.
1996-11-15 19:18:39 +00:00
gwr
815a4d2d55 These files should be merged into src/sbin/route after the 1.2 release.
For now they can live here, so the sun3 ramdisk can use them.
1996-09-13 18:21:25 +00:00