Commit Graph

49 Commits

Author SHA1 Message Date
brooks
0f868886a5 Fix path to dhclient-script and reconnect to build. 2005-06-07 04:51:24 +00:00
brooks
e61bf32b7b Temporarily disconnect dhclient from the build while I import the
OpenBSD version.
2005-06-07 03:59:26 +00:00
darrenr
abb13bb059 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
405821c38c 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
0c94f7d5b7 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
c1fc790a82 Add chroot. It can be a real lifesaver, and adds less than 2 kB. 2005-02-07 21:19:18 +00:00
ru
d1edc2c1eb 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
8a45fbf43f Don't call "objs" target in rescue.mk twice. 2004-12-23 10:16:46 +00:00
ru
5c94524ab2 Make "===> " prefixes look sane. 2004-12-23 10:13:17 +00:00
ru
220424258f NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
ru
9ab6c40553 NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
ru
98b7303173 NOATM -> NO_ATM 2004-12-21 09:08:06 +00:00
ru
54d390266a Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
ru
463fc5893c Add missing dependencies of $(OUTPUTS) on source makefiles.
Caught by:	make -DNOCLEAN buildworld
2004-12-18 17:30:53 +00:00
obrien
267d7f9c18 Replace GNU tar with BSD tar. 2004-12-04 08:24:36 +00:00
bz
bfaa7f0ee7 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
159678ed59 Remove references to NO_VINUM 2004-11-04 12:57:40 +00:00
ru
1edab47bcf For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
marius
6974223b26 As with the non-rescue version don't build fore_dnld when NOATM is defined. 2004-08-16 03:16:48 +00:00
phk
8f1539c7ca Remove dangling raidctl reference 2004-03-16 13:42:23 +00:00
des
9840f90c7c 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
64e62c6b76 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
09a70dc22b 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
58e34246e9 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
d58d2f6b0d 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
26d90185a3 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
ee63ea9101 Temporarily disable ipfstat and ipnat in /rescue to fix world. 2003-10-31 19:48:40 +00:00
markm
e2e1b548e6 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
a672193cd8 - 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
6adb287c14 Teach rescue about NOATM, NO_VINUM and NOINET6 2003-09-02 06:43:58 +00:00
harti
4f49c8c0b3 Build the atmconfig utility into rescue. 2003-08-12 14:33:48 +00:00
gordon
3c1591e7c9 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
2589ef9945 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
5ec646f62a Missed one, remove one more. 2003-07-21 02:47:04 +00:00
obrien
c32982fecf Trim /rescue.
Discussed on:	freebsd-arch@
2003-07-19 20:40:37 +00:00
obrien
1b241d51cd Obey NOCRYPT
Submitted by:	Skip Ford <skip.ford@verizon.net>
2003-07-18 01:07:18 +00:00
obrien
a0a4c9650c NO_TCSH would be set in /etc/make.conf, not here. Also obey NO_IPFILTER. 2003-07-17 16:44:06 +00:00
obrien
430a8dad6f consistify the style some 2003-07-17 16:33:18 +00:00
obrien
1bd03613ea Remove the commented out 'rmail' before someone gets a really bad idea. 2003-07-17 08:02:21 +00:00
obrien
bb556f561e *major* style problems. 2003-07-17 06:29:10 +00:00
obrien
bf537a00a0 We don't need so many -I's. 2003-07-17 06:18:13 +00:00
obrien
4cdb409183 Don't directly use GCC warnings. 2003-07-15 18:05:28 +00:00
gordon
39b4d2eb12 Depessimize rescue build by only clean'ing and obj'ing the directories we
care about, not a full usr.bin tree. This should reduce buildworld times
pretty drastically.

Requested by:	lots of people
2003-07-15 00:30:31 +00:00
gordon
400c312620 Turn rescue back on, conditional to NORESCUE. We seem to be split on
using underscores or not, so I just randomly picked a style. I think
I have the logic correct, but if someone wants to give it a once over
that would be good.

Tim submitted a patch to fix the cross-building issues which I tested
with a tinderbox run for sparc64.

Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-07-11 16:57:43 +00:00
gordon
07656ac8cb Remove mount_portalfs, it's just wrong in this context. 2003-06-30 21:13:56 +00:00
gordon
5f321f2ead Don't build mount_nwfs or mount_smbfs in rescue.
Build fdisk_pc98 on pc98 arch, not fdisk.
Don't alias disklabel on pc98, ia64.
Don't build fdisk on sparc64, alpha.

Pointed out by:	tmm@
Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-30 18:18:05 +00:00
gordon
61d855ca10 Fix fdisk naming issues on pc98 and other platforms.
Fix disklabel, bsdlabel, and sunlabel on various platforms.

Noticed by:	tmm@
Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-30 05:06:43 +00:00
gordon
699a4f97e9 Fix typo sparc -> sparc64
Submitted by:	tmm@
2003-06-29 20:44:12 +00:00
gordon
8c7e24ba5d Add /rescue bits. This basically encompasses all of bin and sbin along
with a couple of bits from usr.bin in a crunchgen'd binary.

Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-29 18:35:37 +00:00