Commit Graph

11051 Commits

Author SHA1 Message Date
uebayasi
e06370d53f Refactor list_set_lists using more functions. 2009-12-11 13:10:06 +00:00
uebayasi
0e9d695764 Replace many "if [ -f $x ]; then echo $x; fi" instances with function. 2009-12-11 12:57:39 +00:00
he
9d7093b6b4 Prefix mkvars.mk with ${rundir}/, so that the scripts from this
dir using sets.subr can be run from another directory, as is done
e.g. during "make release" via the mksums script.

OK'ed by uebayasi@
2009-12-11 12:07:58 +00:00
uebayasi
f22a6fb255 Put intermediate lists on the top of ${DESTDIR} (${DESTDIR}/SETS.*) and leave
them.  Teach list generators to ignore them.  Always generate metalog
missing/extra lists too, but don't check it (for now).  I'll change "flist"
to be generated only when set lists have changed.

No functional changes.
2009-12-11 11:48:41 +00:00
uebayasi
76ff00f330 Thinko; missing/extra are generated differently for metalog/destdir comparison
methods.  Fix mistakenly merged generation functions.
2009-12-10 17:18:33 +00:00
uebayasi
36a7418873 Style. Better variable names. 2009-12-10 16:40:21 +00:00
uebayasi
9efd91e8af Share more code. Call functions in one place. 2009-12-10 16:22:06 +00:00
uebayasi
62eb5f0ca2 Refactor; move generate_* function calls in single place. 2009-12-10 16:12:00 +00:00
uebayasi
fe0b0f3007 Use more functions. But still no functional changes. 2009-12-10 16:09:13 +00:00
uebayasi
c5999c8ae5 Use shell function because I like it. No functional changes. 2009-12-10 16:01:06 +00:00
uebayasi
e08ad0e79f Move make variable extraction & conversion logic from here-documented make
-f- command to an isolated makefile.  The list of non-_MKVARS.* variables
are concentrated there.

No functional changes.
2009-12-10 15:51:24 +00:00
uebayasi
5b7db8face Style. 2009-12-10 13:29:14 +00:00
uebayasi
403121b1db Move the list of non-_MKVARS.* make variables from .for code to MKEXTRAVARS.
List one variable in one line for readability.  No functional changes.
2009-12-10 13:25:19 +00:00
uebayasi
563445b23a Put MKMANZ back and unbreak its installation. 2009-12-10 13:19:21 +00:00
uebayasi
69c8fc601b sh -> ${HOST_SH} 2009-12-10 05:57:23 +00:00
uebayasi
7638dd5a18 Add print_mkvars make target for debug. 2009-12-10 05:15:28 +00:00
uebayasi
779d1d735d MKZFS is properly set in bsd.own.mk now; remove it from MKEXTRAVARS. 2009-12-10 05:02:48 +00:00
uebayasi
9fa6d83816 sh(1) style. No functional changes. 2009-12-10 02:22:57 +00:00
pooka
4a2258a070 remove cv_wakeup.9 (it wasn't documented, just linked) 2009-12-05 22:43:34 +00:00
pooka
70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
pooka
4098e2664f Install obsolete lists for modules. 2009-12-05 19:14:39 +00:00
sborrill
1e82324f8f Another attempt to fix ws fallout. 2009-12-05 16:39:50 +00:00
pooka
d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
cegger
a12917370a Fix syntax error on OSX 10.5.
While here, simplify handling with OPTARG using IFS.

developped with and 'go for it' dsl@
2009-12-05 15:56:25 +00:00
haad
3d365d3fb9 Add /usr/include/dev/dm directory. 2009-12-05 12:38:05 +00:00
pooka
384d713d97 Obsolete puffs_suspend manpage. 2009-12-05 12:14:32 +00:00
haad
79ad9d0df4 Install netbsd-dm.h file to include/dev/dm so it can be used by public. 2009-12-05 11:34:37 +00:00
snj
1f05b1aa64 Bring the xorg entries up to date. 2009-12-05 09:17:25 +00:00
snj
7a8b55f69d cats doesn't run under vmware, so nuke references to the vmware driver. 2009-12-05 08:34:26 +00:00
snj
aae5f537a8 Update for the addition of xf86-video-ws (hi mbalmer!). 2009-12-05 06:45:06 +00:00
snj
60936e4323 Update for librumpdev_dm (hi haad!). 2009-12-05 04:48:20 +00:00
apb
fdf694944f Remove definition of GREP variable, which was unused. The only use
of this variable was removed in revision 1.67.
2009-12-04 12:43:56 +00:00
uebayasi
57fef1c87f Add MKZFS to MKEXTRAVARS just to make sure. 2009-12-03 18:26:34 +00:00
uebayasi
f254ac3fe3 Put ${MKXORG} back to MKVARS. It doesn't exist in bsd.own.mk but used here
to generate th set list keywork "xorg" in list_set_files().  Hopefully fix
some of reported build failures.
2009-12-03 13:45:11 +00:00
apb
3cdf47a42a Exit with a sensible error message if makeflist output is empty.
This should be better than an incomprehensible error message from
mtree.
2009-12-03 12:44:57 +00:00
uebayasi
95f55e8fad Remove a superfluous base-extsrc-* entry. 2009-12-03 12:22:58 +00:00
uebayasi
e09a9264c5 Oops. Remove debug echo again. 2009-12-02 17:56:14 +00:00
uebayasi
726e3cc2de Convert make variables ${_MKVARS.yes} / ${_MKVARS.no} to environments
${_MKVARS_yes} / ${_MKVARS_no} to make sure assignments done right both in
make and shell.

Extract important make variables not listed in ${_MKVARS.*}.
2009-12-02 17:51:30 +00:00
apb
26fce401e0 Patches from Lloyd Parkes in PR 41684, plus my changes:
* ${HOSTNAME} is special to bash, so rename the variable to HOSTNAME_CMD.
* Don't use "cd -".
* Don't use only comments in the else part of an if statement.
2009-12-02 15:52:14 +00:00
uebayasi
85051a7017 Add EXTSRCS to the list of syspkgs aware variables. Remove debug code. 2009-12-02 15:18:06 +00:00
uebayasi
79bf8cee4b Pass the correct ${MKVARS} equivalent value to list_set_files().
XXX list_set_files() needs to be rewritten.
2009-12-02 15:05:55 +00:00
uebayasi
5383775576 Quote variable values from make in case it has spaces. Remove debug print. 2009-12-02 14:32:15 +00:00
uebayasi
62258ab60d Fix previous; don't forget extra vars other than MK*. 2009-12-02 14:28:24 +00:00
uebayasi
7a06940f80 Don't hardcode the list of MK* variables but use ${_MKVARS.yes} and
${_MKVARS.no} provided by bsd.own.mk.
2009-12-02 14:13:12 +00:00
apb
fb5e3559de There's no point in adding _PKGTOOLS_VER=$(${PKG_CREATE} -V)
to any syspkg +BUILD_INFO files, since we don't use the pkg_* tools
to create syspkgs.  Also remove the definition of PKG_CREATE
from sets.subr, since nothing uses it now.
2009-12-01 15:49:21 +00:00
uebayasi
6519114ccc Pass ${TOOL_PKG_CREATE} to scripts for syspkg creation. 2009-12-01 09:11:45 +00:00
snj
b8cfd4e74c Remove two different explorer@ acknowledgements. 2009-12-01 02:37:07 +00:00
uebayasi
d166c4bf28 Support "extsrc", externally added programs and libraries. Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)
2009-11-30 16:13:22 +00:00
he
c7e9631e11 Add a file to handle m68000 differently from m68k; m68000 doesn't
build fdformat.
2009-11-30 07:02:24 +00:00
abs
442fa3d8f5 remove edlabel reference from a commented out line 2009-11-29 20:56:01 +00:00