Commit Graph

57 Commits

Author SHA1 Message Date
ru
4d582ffe09 Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
yar
6fe0b0eb06 Respect MK_INET6_SUPPORT. 2006-07-27 12:28:05 +00:00
ru
059a4b89f6 Pass -DCRUNCH down to standard targets in individual makefiles. 2006-04-10 09:32:50 +00:00
cognet
6911bb9587 *sigh*
Move the -lbsdxml after -lgeom, so that ld doesn't get confused and pretend
he can't find the symbol from libbsdxml needed in libgeom.
This should fix the rescue build breakage.
2006-03-27 12:56:29 +00:00
ru
270427ac5b Extend coverage of the MK_IPX build option to the following:
- <netipx> headers [1]
- IPX library (libipx)
- IPX support in ifconfig(8)
- IPXrouted(8)
- new MK_NCP option

New MK_NCP build option controls:

- <netncp> and <fs/nwfs> headers
- NCP library (libncp)
- ncplist(1) and ncplogin(1)
- mount_nwfs(8)
- ncp and nwfs kernel modules

User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP.

[1] <netsmb/netbios.h> unconditionally uses <netipx> headers
so they are still installed.  This needs to be dealt with.
2006-03-20 14:24:58 +00:00
ru
388e590f95 Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
jhb
71d1cb326f Install nextboot in /rescue as /rescue/nextboot rather than
/rescue/nextboot.sh to match the name in /sbin (/sbin/nextboot).

Reviewed by:	gtetlow
MFC after:	1 week
2005-12-15 18:29:01 +00:00
phk
5a52376065 Respect the YES_HESIOD build variable. 2005-08-06 16:53:55 +00:00
brooks
381814902f Fix path to dhclient-script and reconnect to build. 2005-06-07 04:51:24 +00:00
brooks
8890293394 Temporarily disconnect dhclient from the build while I import the
OpenBSD version.
2005-06-07 03:59:26 +00:00
darrenr
f739412edd Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup
build problems with rescue.
2005-04-28 16:26:35 +00:00
cperciva
5c67f1fcb6 Run "make obj" before "make build-tools" in the directories used for
building the rescue binary.  This fixes a problem with NO_TCSH, where
the "make obj" stage of buildworld doesn't recurse into bin/csh,
resulting in csh build-tools being put into /usr/src/bin/csh.

Pointed out by:	dougb (on hackers@)
2005-03-18 12:55:07 +00:00
trhodes
792676bbc2 Wrap BSD r* commands in NO_RCMDS.
Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk.

Discussed with: ru, nectar
2005-03-02 11:53:22 +00:00
des
a58e8ae47c Add chroot. It can be a real lifesaver, and adds less than 2 kB. 2005-02-07 21:19:18 +00:00
ru
4f4d01c76f Ignoring MAKEFLAGS in rev. 1.15 was a very bad idea. This causes
wrong share/mk files to be used, which can be fatal with upgrades
or downgrades, e.g., when building RELENG_5 on HEAD.

Reported by:	glebius

For now, just exclude -P from MAKEFLAGS when running crunchgen(1).
(Note that it will still break when run with certain -d options.)

The real solution is to fix make(1) to not print stuff on stdout
when it's not supposed to, e.g., through the -P and -dX options,
and to fix crunchgen(1) to not redirect stderr to stdout when
running make(1).  Once this is implemented, this hack can go.
2005-01-20 10:43:43 +00:00
ru
57a9cd5418 Don't call "objs" target in rescue.mk twice. 2004-12-23 10:16:46 +00:00
ru
e73a95c8c7 Make "===> " prefixes look sane. 2004-12-23 10:13:17 +00:00
ru
5c04306fea NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
ru
f4c44b761b NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
ru
3b01b84505 NOATM -> NO_ATM 2004-12-21 09:08:06 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
ru
b0de3be535 Add missing dependencies of $(OUTPUTS) on source makefiles.
Caught by:	make -DNOCLEAN buildworld
2004-12-18 17:30:53 +00:00
obrien
a49cb2018c Replace GNU tar with BSD tar. 2004-12-04 08:24:36 +00:00
bz
4b83c5852a Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
2004-11-13 20:40:32 +00:00
phk
86fa6da853 Remove references to NO_VINUM 2004-11-04 12:57:40 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
marius
9152e30022 As with the non-rescue version don't build fore_dnld when NOATM is defined. 2004-08-16 03:16:48 +00:00
phk
fe6f003286 Remove dangling raidctl reference 2004-03-16 13:42:23 +00:00
des
37f2e4ca22 Add id(1) (aka groups(1) aka whoami(1)) since it is used by install.sh. 2004-03-12 13:10:04 +00:00
kientzle
8df2cd85b2 Revision 1.7 of this file added information
about the location of each program's source.

This update optimizes the build a bit by giving that
information to crunchgen rather than asking crunchgen
to do a directory search to locate sources.

Approved by: gordon (Mentor)
2004-01-18 22:24:23 +00:00
ru
dd200f8c97 Properly spell make binary as ${MAKE}.
This fixes buildworld for systems with old make(1) binaries.

Reported by:	Benjamin Close
2003-12-24 10:59:33 +00:00
imp
91ba98c804 Remove cxconfig and add sconfig
# maybe we can remove sconfig later from rescue?

Submitted by: Roman Kurakin <rik@cronyx.com>
Approved by: re@ <scottl>
2003-12-03 17:12:35 +00:00
brooks
2b3284fdce Reconnect ipfstat, ipnat, and ipftest to the build now that if_xname
support is enabled.

Approved by:	re (scottl)
2003-12-02 21:52:14 +00:00
obrien
8eacd94a3c Alternate version of rev 1.20.
Comment out rather than totally remove the ipfilter pieces that we need
reconnected some day.  This is now only ipnat as it is for configuring NAT.
ipfstat is meant for reporting statistics/filter lists.  For /rescue it is
enough to configure lists but not view the installed ones.
2003-11-09 01:22:27 +00:00
brooks
3526d4016c Temporarily disable ipfstat and ipnat in /rescue to fix world. 2003-10-31 19:48:40 +00:00
markm
b506168cfb No need to check for the directory, fols are assumed to have all the
correct sources. Only check the crypto macros.
2003-09-27 17:27:02 +00:00
fjoe
571ef024e3 - Support for multibyte charsets in LIBICONV.
- CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options
(with corresponding modules).
- kiconv(3) for loadable charset conversion tables support.

Submitted by:	Ryuichiro Imura <imura@ryu16.org>
2003-09-26 20:26:25 +00:00
phk
aa66e2a22f Teach rescue about NOATM, NO_VINUM and NOINET6 2003-09-02 06:43:58 +00:00
harti
08139cea76 Build the atmconfig utility into rescue. 2003-08-12 14:33:48 +00:00
gordon
1b9a307163 When using crunchgen, blow away MAKEFLAGS. This fixes make -j <#> -P
from passing the -P flag to crunchgen which seems to confuse crunchgen
horribly. This is the preferable solution to modifing crunchgen to
unset the MAKEFLAGS environment variable.

Submitted by:	gad@
2003-08-01 09:04:32 +00:00
gordon
660b2e52a1 Fix rescue build using -j. The problem appears to be make not being able
to find the source when the object was specified as <directory>/foo.o.

The fix makes the build go through a make objs before compiling the rest
of the crunchgen. This ensures that the dhclient bits are built in the
correct place where they are picked up for the final compile of rescue.

I'd like to thank dwhite@ and gad@ for helping me track down the problem.

Fast testing box provided by:	phk@ (thanks)
2003-07-24 07:42:42 +00:00
obrien
814422725b Missed one, remove one more. 2003-07-21 02:47:04 +00:00
obrien
ed6c26414b Trim /rescue.
Discussed on:	freebsd-arch@
2003-07-19 20:40:37 +00:00
obrien
b9c3afb2ea Obey NOCRYPT
Submitted by:	Skip Ford <skip.ford@verizon.net>
2003-07-18 01:07:18 +00:00
obrien
c5a49d7935 NO_TCSH would be set in /etc/make.conf, not here. Also obey NO_IPFILTER. 2003-07-17 16:44:06 +00:00
obrien
dfde3a1dfa consistify the style some 2003-07-17 16:33:18 +00:00
obrien
0069eca54b Remove the commented out 'rmail' before someone gets a really bad idea. 2003-07-17 08:02:21 +00:00
obrien
166f9010bc *major* style problems. 2003-07-17 06:29:10 +00:00
obrien
907d8c242e We don't need so many -I's. 2003-07-17 06:18:13 +00:00
obrien
9901d0da5d Don't directly use GCC warnings. 2003-07-15 18:05:28 +00:00