Commit Graph

132 Commits

Author SHA1 Message Date
plunky
762c58f13a simplify PCC inclusion; MKPCCDMDS is not really required 2011-05-20 16:02:21 +00:00
haad
a28cba54a4 Mention MKPERFUSE keyword here, too. I have forgot to commit this file before. 2011-05-09 14:45:44 +00:00
joerg
bf965eb8bc Replace gnugrep keyword with ! bsdgrep 2011-04-21 20:59:38 +00:00
joerg
0cef9f9563 Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.
2011-04-21 14:26:33 +00:00
joerg
48360965f3 Add LLVM and clang build system. It is enabled by MKLLVM=yes.
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
2011-02-06 01:13:42 +00:00
matt
6192144845 Add a method to a whiteout an entry thereby allowing a md/ad file to remove
a file from the set lists.

Use this for md.evbppc which doesn't build some module tests.
2011-01-28 20:36:19 +00:00
he
a16282018d Introduce the "ssp" attribute derived from HAS_SSP from <bsd.sys.mk>.
Use it to flag entries which should only be included if the target platform
supports SSP.  Fixes the build for a bunch of architectures.
2010-12-28 09:15:24 +00:00
njoly
f23e744cdd Make tests set generation optional, skipped for MKATF=no build. 2010-12-08 23:56:01 +00:00
mrg
1909f84b1c - always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP.  if it is "no", then only install pigz as pigz.  if it is
  not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it.  i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.
2010-06-19 03:50:30 +00:00
mrg
8b69d164b3 add some infrastructure to build pigz instead of gzip. you can test
this out if you set MKPIGZ=yes, but you'll end up with a /usr/bin/gzip
that doesn't support bzip2, compress or pack.
2010-06-18 04:21:21 +00:00
tron
11300caff5 "dtrace,zfs" means "MKDTRACE=yes" *and* "MKZFS=yes" which is not what
we want. Invent a flag "solaris" which is the or of those two flags.
2010-03-03 16:13:42 +00:00
darran
eda67656cd Add DTrace to sets. 2010-02-21 03:18:45 +00:00
plunky
097453b233 add note of "pcc" and "pcccmds" attributes 2010-02-04 13:07:55 +00:00
he
677bd46137 In addition to setting module=no if ${MKKMOD} is "no", also
set kmod=no.  This should get evbppc building correctly again.
2010-01-14 13:45:51 +00:00
uebayasi
3db267ebd3 s/sed/${SED}/; s/xargs/${XARGS}/ 2009-12-21 15:37:25 +00:00
uebayasi
930c6ee6c5 Clean up debug knobs. 2009-12-15 06:18:07 +00:00
uebayasi
4b2bc9eb2d Factor out print_set_files() printing raw set list entries out of
list_set_files().  While here kill a useless-use-of-cat.
2009-12-15 05:11:08 +00:00
uebayasi
6be5668179 We don't need to check ${MACHINE_ARCH} == "m68000" if we use shlib or not.
Because such a knowledge is concentrated in bsd.own.mk and passed to as
${MKPIC}.  Tested by build.sh -m sun2 distribution sets.
2009-12-15 05:07:11 +00:00
he
66597865fb Move the test for evbppc out of sets.subr and into bsd.own.mk, to
decide whether to make kernel modules: set MKKMOD to no for evbppc.
Use this in etc/Makefile to decide whether to do the "modules"
obsolete sets.  Move the ./var/db/obsolete/modules entry from the
"mi" to the "module.mi" file set.

Fixes the build for evbppc.

Discussed with uebayasi@
2009-12-11 15:22:33 +00:00
uebayasi
096187792a list_set_lists() - Share code of handling *.ad.* set lists. 2009-12-11 13:30:11 +00:00
uebayasi
e140e09a48 Indent. 2009-12-11 13:10:47 +00:00
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
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
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
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
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
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
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
dyoung
2e43373a96 Fix MKKMOD=no builds: in sets.subr, if $MKKMOD == no, leave the
modules set out of the list of NetBSD set lists, nlists.  If
$MKKMOD == no, do not install modules tests.
2009-11-05 17:34:25 +00:00
dyoung
cef5c322c2 Always respect MKBINUTILS=no, MKGCC=no, and MKGDB=no by filtering
entries binutils=N, gcc=N, or gdb=N from the set list.
2009-11-03 00:38:56 +00:00
haad
fe1c828484 Add MKZFS file so building a release works for others, too. 2009-10-07 22:22:18 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
skrll
8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
jnemeth
fbeb8d3295 Create a modules.tgz set and move kernel modules into it. 2009-09-07 02:27:27 +00:00
dyoung
71fe64733e Let us use MKKMOD=yes to leave the kernel modules out of the
distribution.
2009-08-30 01:49:41 +00:00
mrg
980e989b21 fix the prior change to add MKX11FONTS support. 2009-06-18 21:05:35 +00:00
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