Commit Graph

83 Commits

Author SHA1 Message Date
apb
f328a72950 Print debug messages only when MAKEVERBOSE >= 3, not when
it is >= 2.  MAKEVERBOSE=2 is teh default, and the messages
are too noisy.
2009-04-07 20:46:20 +00:00
apb
0dadb6113f All non-error messages printed to stderr by makeplist must begin with
"DEBUG:", or else regpkg assumes that they are error messages.  Make the
verbose messages printed by the list_set_files function follow that
convention.  Fixes PR 41077 from Lloyd Parkes.
2009-04-04 10:08:08 +00:00
rmind
6d73ddd355 Revert path of modules back to "/stand". 2009-01-24 22:14:44 +00:00
rmind
f0e51651e4 Change path to kernel modules from "/stand" to "/kernel".
Needs to go in before 5.0.  Proposed on <tech-kern>.
2009-01-24 00:29:12 +00:00
minskim
8b464c62c2 MKSENDMAIL is no longer used. 2009-01-19 19:13:45 +00:00
agc
408492d9e8 Put the lvm/MKLVM glue into the sets subroutines 2008-12-23 02:56:10 +00:00
tsutsui
36e401605d Reorganize lists for MD modules:
- move MD module files from md.* into separate module.* lists
- make those module lists per MACHINE_CPU or MACHINE_ARCH,
  rather than per MACHINE

Tested on several ports.

XXX maybe we should also move usr/tests/modules/k_helper/k_helper.kmod
XXX from lists/tests/mi to lists/tests/module.mi and disable it on evbppc.
2008-11-29 17:57:33 +00:00
tsutsui
399241e435 - rename set list lkm.mi -> module.mi
- move obsolete lists of usr/lkm files to mi
2008-11-26 15:45:56 +00:00
pooka
b2fa04c6b2 Now that MKPUFFS is default, kill it as advertised.
While there, give puffs and refuse files sensible syspkg entries.
2008-11-12 13:17:27 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
mrg
e5bc8e2c94 fix a couple of minor errors picked up by he@. thanks! 2008-11-09 23:07:22 +00:00
mrg
9c8df5ee67 - retire MKXORG from public use
- introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg
  for the X11 to build if MKX11=yes is set.  it takes the values
  of either Xorg or XFree86.
- default to Xorg on alpha, i386, macppc, shark, sparc and sparc64
- remove MKXORG_WITH_XSRC_XSERVER, unused and never useful
2008-11-09 23:02:28 +00:00
mrg
72f26e4440 support MKCRYPTO. 2008-10-26 07:31:00 +00:00
lukem
e95c8a6849 Remove set lists for the non-cross-compiled ("vendor provided") build of
XFree86; we've used our src/x11 framework for four years.
2008-08-31 00:19:33 +00:00
lukem
77e36d9955 add debuglib keyword. per rtr 2008-08-28 07:22:41 +00:00
lukem
1373597cb4 Add support for MKHTML and MKXORG enabling "html" and "xorg" keywords
(respectively).

MKXORG also sets x11_version as per MKX11.
(Eventually we'll deprecate the non cross-build X11 sets and remove
the need for the x11_version variable here)
2008-08-28 07:17:13 +00:00
lukem
909a499e2a Support dynamicroot keyword, keyed off MKDYNAMICROOT!=no.
Sort some entries.
Document some keywords.
2008-08-25 07:27:27 +00:00
dyoung
6c06f2593a Per discussion on tech-userlevel@, do not compile and install nvi
if MKNVI=no.

The default is MKNVI=yes, so that this amounts to no change for
most users, but the default may change.
2008-07-22 21:07:58 +00:00
he
3b5e9e1519 When MAKEVERBOSE >= 2 (or if unset, by default), let list_set_files()
echo all the set list component file names to stderr, so they end
up in the build log.  This is to make it slightly easier to find
a suitable file to fix when the set lists need fixing.

Discussed with lukem.
2008-05-22 22:56:40 +00:00
he
6ac0267475 Export NETBSDSRCDIR from make, and use it to point at
sys/conf/osrelease.sh, so that the script is found when building
with -O is given to build.sh.

Discussed with lukem.
2008-05-22 14:48:42 +00:00
lukem
3ece9bfe0a OpenLDAP client libraries, utilities, and relevant manual pages. 2008-05-22 14:24:42 +00:00
ad
14cd43625f Install kernel modules into the proper locations, taking machine and
kernel version into account.
2008-05-20 19:01:10 +00:00
ad
e7660f2353 Use HOST_SH. 2008-05-20 15:18:29 +00:00
ad
85a077252f Recognise @MODULEDIR@ as a keyword in setlists. 2008-05-20 15:17:22 +00:00
jmmv
b0152a99f8 Support negated build-time options in the lists. I need this to disable
some files when the modular option (not yet committed) is enabled.
2008-02-09 19:30:11 +00:00
minskim
9e5ba8057c Remove MKUUCP from MKVARS; uucp is not in src any longer. 2007-12-01 03:20:33 +00:00
jmmv
4d9b8b6a50 Add the tests.tgz set
This adds a new tests.tgz set to releases which includes all the tests
for the system.  It is important to note that this set does not rely on
comp.tgz: a user of the system can run the tests without having the
development tools installed, which can be useful in a production machine.
2007-11-12 15:06:45 +00:00
apb
f7004b0cbc Whenever we try to parse the output from make, run make with the -B
flag.  This ensures that -j<N> isn't accidentally inherited from the
environment, because the "--- foo ---" headers printed with -j<N> would
interfere with parsing the output.
2007-02-05 18:26:01 +00:00
pooka
81b905fdbb if MKPUFFS=yes is given, build & install mount_psshfs (default: no) 2006-12-29 15:52:20 +00:00
christos
ab6d6d1244 more uucp removal 2006-11-12 02:43:39 +00:00
lukem
cacf5bfacc Implement MKDEBUG:
If "no", don't build and install separate debugging symbols
	into /usr/libdata/debug.
	Default: no
2006-07-23 11:41:24 +00:00
lukem
5666bd9aa8 * Provide new keywords:
gcc=<n>			<n> = value of ${HAVE_GCC}
	gdb=<n>			<n> = value of ${HAVE_GDB}

* Support extra keywords on lines with "obsolete" keywords to allow
  keyword-specific obsolete files.
  (Primarily intended for use with gcc=<n> and gdb=<n>, although
  it could be use for other items).

* Use the above features to collapse the gcc.* and gcc4.* lists into
  the appropriate set lists.

* Deprecate the tc.* lists as all platforms are either HAVE_GCC=3 or HAVE_GCC=4.

* Update set lists for HAVE_GDB=6.
2006-07-12 13:39:04 +00:00
mrg
e8ffedc44b add support for MKISCSI=no. 2006-06-24 05:11:40 +00:00
dogcow
82f4871f70 As pointed out by Izumi and Tsutsui and Valeriy Ushakov, these should
properly be .ad. files, not .md. files.
2006-06-09 03:14:54 +00:00
dogcow
b943d36d28 Use the gcc4 md list. 2006-05-19 01:49:05 +00:00
mrg
0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
christos
85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
apb
6942b0e739 Use TARGET_ENDIANNESS (from bsd.endian.mk) to decide whether
to add "-E B" or "-E L" options to ${db_opts}.

Approved by christos.
2006-01-08 10:25:33 +00:00
apb
6d714d9691 Add cheap implementations of basename and dirname,
using builtin printf, or using echo if printf is not a
shell builtin.

Reviewed by agc
2006-01-04 14:35:03 +00:00
apb
4d96f88bcb Add shell variables for several additional host tools,
required by the new versions of regpkgset and regpkg.
2006-01-04 14:23:22 +00:00
apb
3a0b541193 Add shell variables defined in sets.subr for almost all commands used
by scripts in distrib/sets/*.  This is intended to be useful when cross
building.  Only trivial commands like echo, cat, and rm are excluded
from this treatment.

While I am here, make ${MTREE} and ${DB} follow the pattern used by most
other such variables.

Reviewed by agc.
2006-01-03 16:40:16 +00:00
apb
26d8593b50 Move default values for several shell variables into sets.subr.
Reviewed by agc
2006-01-03 15:42:42 +00:00
lukem
22b0f5dfc0 Add support for following keywords in sets lists, based on mk.conf(5) vars:
use_inet6		${USE_INET6} != no
	use_kerberos		${USE_KERBEROS} != no
	use_yp			${USE_YP} != no
2005-05-01 07:06:09 +00:00
tron
a9f1e3563a Add "MKX11" flag. We need it for the X11 obsolete lists in the "base" set. 2005-03-22 09:28:24 +00:00
peter
1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
lukem
3af1db4def Support ${MKINET6} == "no". 2005-01-10 03:13:04 +00:00
he
67d66c86bb Don't build libpam and associated bits if the target platform doesn't
support shared libraries (sun2 and evbsh5 at it would seem), or if the
user has specified MKPIC=no.  Also introduce a new tag to the set lists
("pam"), so that the non-shlib ports can once again complete a release
build.

Discussed with christos and lukem.
2005-01-10 00:20:21 +00:00
matt
f26774eaee Add MKGCCCMDS/gcccmds 2005-01-09 22:24:04 +00:00
tron
71d6312747 EOL of XFree86 3.3.6, approved by core@NetBSD.org 2005-01-07 18:56:40 +00:00
erh
10d0173282 Make all the sets scripts work even when not run from the directory that
they reside in.
Change any uses of dirname to use shell variable substitution instead.
2004-07-23 15:11:26 +00:00