Commit Graph

44 Commits

Author SHA1 Message Date
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
gordon
1698b7878b 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
b896522432 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
e812a8fe75 Remove mount_portalfs, it's just wrong in this context. 2003-06-30 21:13:56 +00:00
gordon
3bd8aa4473 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
3764707074 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
53b642322a Fix typo sparc -> sparc64
Submitted by:	tmm@
2003-06-29 20:44:12 +00:00
gordon
9beb6458f5 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