Commit Graph

23 Commits

Author SHA1 Message Date
yamt e0ea81bf20 follow the recent changes in sbin/ifconfig/Makefile. 2005-03-20 14:21:05 +00:00
yamt 4d5c8584db follow the recent changes in sbin/ifconfig/Makefile. 2005-03-19 18:16:34 +00:00
lukem 46123551a0 Only support SMALLPROG_INET6 if ${USE_INET6} != "no".
Part of PR 28994.
2005-01-18 12:30:21 +00:00
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
christos 09f431f5bf Add libutil. 2002-09-20 21:23:02 +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
itojun e1a37a37f9 no need for extra paren 2002-06-18 01:53:35 +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 3b30be92ba make -DINET6 conditional with MACHINE_ARCH.
checked after a comment from "Simon J. Gerraty" <sjg@quick.com.au>
2000-05-04 03:27:09 +00:00
itojun 1c5b5f62fc enable IPv6 support in sysinst. integration of work by ichiro@ichiro.org.
- IPv6 autoconfiguration
- IPv6 nameserver
TODO: french messages, dhcp

add -DINET6 into x_ifconfig.
2000-01-04 08:33:51 +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 ad6d6347fe use CPPFLAGS instead of CFLAGS 1997-10-22 02:11:56 +00:00
scottr ea8086b766 Replace BSDSRCDIR use with relative paths. 1996-03-27 04:48:28 +00:00
gwr 5caec5db02 Put .PATH later so SRCDIR is defined 1995-10-13 18:35:17 +00:00
gwr cba18d24c6 Minor cleanup 1995-10-13 18:10:06 +00:00
gwr f75c79d821 Add some utilities all ports might use in a ramdisk root. 1995-10-08 23:08:46 +00:00