#
1.44 |
|
17-May-2024 |
christos |
use IMAGESPECEXTRA to include libdata and don't include IMAGERUNTIME
|
#
1.43 |
|
17-May-2024 |
christos |
Add IMAGERUNTIME and IMAGESPECEXTRA variables
|
#
1.42 |
|
16-May-2024 |
christos |
Apply the -xx treatment to the rest of the ffs makefs invocations.
|
#
1.41 |
|
20-Mar-2024 |
christos |
Fix reproducible builds (Jan-Benedict Glaw)
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
|
#
1.40 |
|
11-Feb-2017 |
christos |
more MKREPRO_TIMESTAMP fixes (for pax/tar generated files)
|
Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.39 |
|
20-Dec-2015 |
christos |
branches: 1.39.2; 1.39.4; Add MKREPRO_TIMESTAMP support to the makefs invocation.
|
#
1.38 |
|
12-Aug-2014 |
martin |
Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally add files to the staging directory)
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.37 |
|
06-Aug-2014 |
apb |
To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program ${TOOL_GZIP}" on the command line, and refrain from passing "-z". If passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
|
#
1.36 |
|
06-Aug-2014 |
apb |
Introduce and use GZIP_FLAGS variable.
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but the new use of GZIP=${GZIP_FLAGS:Q} is safer.
For consistency, also use GZIP_FLAGS elesehere in this file.
|
#
1.35 |
|
05-Aug-2014 |
apb |
Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n in the environmentto commands that invoke ${TOOL_GZIP}. This will allow them to use -nT instead of just -n with pigz.
|
#
1.34 |
|
05-Aug-2014 |
apb |
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is actually pigz.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
|
#
1.33 |
|
27-Jan-2014 |
apb |
branches: 1.33.2; Use ${TOOL_GZIP} instead of just gzip in all Makefiles outside */dist/* subdirectories.
When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ}, so there's no need to test USE_PIGZGZIP in these Makefiles.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.32 |
|
24-May-2013 |
christos |
Add IMGMAKEFSOPTIONS like in the bootimage Makefile
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.31 |
|
03-Apr-2009 |
perry |
branches: 1.31.6; 1.31.12; Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
|
#
1.30 |
|
23-Jun-2008 |
matt |
branches: 1.30.4; Change remaining instances of ${RELEASEDIR}/${MACHINES} to ${RELEASEDIR}/${RELEASEMACHINEDIR}
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.29 |
|
27-Jun-2005 |
dbj |
branches: 1.29.20; 1.29.24; add "fsimage" phony target to rebuild image. delete the ${WORKBUILT} tag on cleanfsimage so it will get properly rebuilt
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.28 |
|
04-May-2004 |
lukem |
MAKEVERBOSE support
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.27 |
|
26-Oct-2003 |
lukem |
Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
|
#
1.26 |
|
03-Oct-2003 |
lukem |
Allow ${CRUNCHBIN} to be optional by defaulting to "." when doing the "${.OODATE}" check. Problem noticed in a build that uses Makefile.image but not Makefile.crunch.
|
#
1.25 |
|
10-Jul-2003 |
lukem |
Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
|
#
1.24 |
|
09-May-2003 |
dsl |
Force ramdiskbin.mk to be run to update the crunched binary. Explicitly check times on built targets so to stop make rebuilding the later targets. nbmake in src/distrib/i386/floppies/ramdisk-big (etc) will now pick up changes to source files that make the crunched binary.
|
#
1.23 |
|
02-Apr-2003 |
fvdl |
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
#
1.22 |
|
25-Mar-2003 |
lukem |
Add MAKE to PARSELISTENV, and specifically set MAKE=${MAKE} in list.sysinst. (Better fix to previous, but thanks to Warner for committing a fix which then prodded me to improve it :)
|
#
1.21 |
|
25-Mar-2003 |
imp |
Fix cross building case where the host is not a NetBSD host. We need to set MAKE for the subshell that's used to populate the work tree. It needs to be the the correct make (in the cross build case: nbmake + args) so that when makeobsolete is run it can pickup this value. Otherwise makeobsolete defaults to the host's make is used which might not understand some of NetBSD make's constructs.
This fixes, mostly, the build of NetBSD/hpcmips on a FreeBSD-current system.
|
#
1.20 |
|
11-Mar-2003 |
lukem |
add multiple-include protection. clean up some comments.
|
#
1.19 |
|
03-Jan-2003 |
lukem |
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of "${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only cleaned if UPDATE is not defined.
|
Revision tags: fvdl_fs64_base
|
#
1.18 |
|
21-Dec-2002 |
lukem |
Invoke ${PAX} with '-O' so that various errors don't hang the make or the command with an interactive question. (This also prevents weird problems if a directory element of '-f path' is missing and 'make -j N' is being used).
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.17 |
|
09-May-2002 |
lukem |
only provide targets for ${WORKSPEC} and ${WORKBUILT} if non are provided. this allows custom specfiles to be generated or custom WORKDIRS to be used, whilst still allowing use of IMAGE or IMAGETAR rules.
|
#
1.16 |
|
07-May-2002 |
lukem |
keep ${IMAGE} around even after building (optional) ${IMAGE}.gz
|
#
1.15 |
|
07-May-2002 |
lukem |
Use release:: instead of release: when multiple release targets may exist
|
#
1.14 |
|
07-May-2002 |
lukem |
install correct item with IMAGETAR_RELEASEDIR release target
|
#
1.13 |
|
03-May-2002 |
lukem |
revert previous; all includers of Makefile.image should set MTREECONF
|
#
1.12 |
|
02-May-2002 |
bjh21 |
When doing a shell "for" loop over a potentially-empty list, assign the list to a shell variable and iterate over that. This is necessary for some POSIX shells.
|
#
1.11 |
|
02-May-2002 |
lukem |
yet another distrib overhaul: - move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib (fixes problem caused by implicit include of ../Makefile.inc in certain submake conditions triggered by makefiles not yet in tree) - removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of etc/Makefile to create all the release directories - renamed RELINSTALL to RELEASE_INSTALL - renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR - renamed MDSETDIR to MDSET_RELEASEDIR - removed ITARGET - move release target from top level to appropriate subdirectory - ensure release target has correct depends - replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD - Makefile.image: add realall: ${IMAGE}
|
#
1.10 |
|
02-May-2002 |
lukem |
allow IMAGE to be optional (and don't create rule for ${IMAGE}: if it's not defined)
|
#
1.9 |
|
26-Apr-2002 |
lukem |
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
|
#
1.8 |
|
12-Apr-2002 |
lukem |
support optional IMAGETAR; if defined, build a tar.gz file named {IMAGETAR} which contains the same contents as ${IMAGE}.
|
#
1.7 |
|
12-Apr-2002 |
lukem |
move default PARSELISTENV and related goop into separate Makefile.parselist, and add DISTRIBDIR to PARSELISTENV.
|
#
1.6 |
|
14-Mar-2002 |
lukem |
parselist.awk - improve comments - provide a general purpose variable replacement; replace contents of ${FOO} with ENVIRON["FOO"]. - deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE} and ${MACHINE_ARCH} instead - add errx() function; like err(), but doesn't print the line number - invoke this script with various variables defined via PARSELISTENV
*/Makefile* - use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR - other minor tweaks
*/list* - replace @MACHINE@ with ${MACHINE}
|
#
1.5 |
|
14-Mar-2002 |
lukem |
cosmetic tweaks: sort some variable lists, improve descriptions, [...]
|
#
1.4 |
|
08-Feb-2002 |
lukem |
- cleanup image device creation: add Makefile.makedev & list.makedev, remove dist/*, now that they're not needed. if MAKEDEVTARGETS is set, use MAKEDEV.wrapper and makedev2spec.awk to create an mtree specfile containing the devices that would be made with "etc/etc.${MACHINE}/MAKEDEV $MAKEDEVTARGETS". otherwise, copy etc/etc.${MACHINE}/MAKEDEV to dev/MAKEDEV (via list.makedev) - add mtree.common; contains directories used by all images, and optional entries for dist/*
|
#
1.3 |
|
07-Feb-2002 |
lukem |
- improve error checking - add support for passing variables to parselist.awk that are used to replace text in each line of the lists. currently supported strings: text variable ---- -------- @MACHINE_ARCH@ MACHINE_ARCH @MACHINE@ MACHINE
|
#
1.2 |
|
05-Feb-2002 |
lukem |
- allow ${MTREECONF} to contain multiple files, and build ${WORKSPEC} up by catting these together with "/unset all" between each file. - when populating the tree (${WORKBUILT} rule), depend upon ${WORKSPEC} rather than ${MTREECONF} - support ${MAKEFS_FLAGS} as optional flags for ${MAKEFS} - use CLEANFILES to remove files
|
#
1.1 |
|
03-Feb-2002 |
lukem |
distrib/common - shared files for building distribution media, initially comprising of:
Makefile.crunch build a crunchgen(1)ed binary from the provided lists
Makefile.image build a tree from the provided lists, and build an ffs file system image from that tree using makefs(8), without requiring root privileges
parselist.awk parse list files generating different output: crunchgen config mtree specfile sh commands to populate a tree
|
#
1.44 |
|
17-May-2024 |
christos |
use IMAGESPECEXTRA to include libdata and don't include IMAGERUNTIME
|
#
1.43 |
|
17-May-2024 |
christos |
Add IMAGERUNTIME and IMAGESPECEXTRA variables
|
#
1.42 |
|
16-May-2024 |
christos |
Apply the -xx treatment to the rest of the ffs makefs invocations.
|
#
1.41 |
|
20-Mar-2024 |
christos |
Fix reproducible builds (Jan-Benedict Glaw)
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
|
#
1.40 |
|
11-Feb-2017 |
christos |
more MKREPRO_TIMESTAMP fixes (for pax/tar generated files)
|
Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.39 |
|
20-Dec-2015 |
christos |
branches: 1.39.2; 1.39.4; Add MKREPRO_TIMESTAMP support to the makefs invocation.
|
#
1.38 |
|
12-Aug-2014 |
martin |
Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally add files to the staging directory)
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.37 |
|
06-Aug-2014 |
apb |
To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program ${TOOL_GZIP}" on the command line, and refrain from passing "-z". If passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
|
#
1.36 |
|
06-Aug-2014 |
apb |
Introduce and use GZIP_FLAGS variable.
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but the new use of GZIP=${GZIP_FLAGS:Q} is safer.
For consistency, also use GZIP_FLAGS elesehere in this file.
|
#
1.35 |
|
05-Aug-2014 |
apb |
Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n in the environmentto commands that invoke ${TOOL_GZIP}. This will allow them to use -nT instead of just -n with pigz.
|
#
1.34 |
|
05-Aug-2014 |
apb |
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is actually pigz.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
|
#
1.33 |
|
27-Jan-2014 |
apb |
branches: 1.33.2; Use ${TOOL_GZIP} instead of just gzip in all Makefiles outside */dist/* subdirectories.
When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ}, so there's no need to test USE_PIGZGZIP in these Makefiles.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.32 |
|
24-May-2013 |
christos |
Add IMGMAKEFSOPTIONS like in the bootimage Makefile
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.31 |
|
03-Apr-2009 |
perry |
branches: 1.31.6; 1.31.12; Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
|
#
1.30 |
|
23-Jun-2008 |
matt |
branches: 1.30.4; Change remaining instances of ${RELEASEDIR}/${MACHINES} to ${RELEASEDIR}/${RELEASEMACHINEDIR}
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.29 |
|
27-Jun-2005 |
dbj |
branches: 1.29.20; 1.29.24; add "fsimage" phony target to rebuild image. delete the ${WORKBUILT} tag on cleanfsimage so it will get properly rebuilt
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.28 |
|
04-May-2004 |
lukem |
MAKEVERBOSE support
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.27 |
|
26-Oct-2003 |
lukem |
Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
|
#
1.26 |
|
03-Oct-2003 |
lukem |
Allow ${CRUNCHBIN} to be optional by defaulting to "." when doing the "${.OODATE}" check. Problem noticed in a build that uses Makefile.image but not Makefile.crunch.
|
#
1.25 |
|
10-Jul-2003 |
lukem |
Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
|
#
1.24 |
|
09-May-2003 |
dsl |
Force ramdiskbin.mk to be run to update the crunched binary. Explicitly check times on built targets so to stop make rebuilding the later targets. nbmake in src/distrib/i386/floppies/ramdisk-big (etc) will now pick up changes to source files that make the crunched binary.
|
#
1.23 |
|
02-Apr-2003 |
fvdl |
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
#
1.22 |
|
25-Mar-2003 |
lukem |
Add MAKE to PARSELISTENV, and specifically set MAKE=${MAKE} in list.sysinst. (Better fix to previous, but thanks to Warner for committing a fix which then prodded me to improve it :)
|
#
1.21 |
|
25-Mar-2003 |
imp |
Fix cross building case where the host is not a NetBSD host. We need to set MAKE for the subshell that's used to populate the work tree. It needs to be the the correct make (in the cross build case: nbmake + args) so that when makeobsolete is run it can pickup this value. Otherwise makeobsolete defaults to the host's make is used which might not understand some of NetBSD make's constructs.
This fixes, mostly, the build of NetBSD/hpcmips on a FreeBSD-current system.
|
#
1.20 |
|
11-Mar-2003 |
lukem |
add multiple-include protection. clean up some comments.
|
#
1.19 |
|
03-Jan-2003 |
lukem |
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of "${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only cleaned if UPDATE is not defined.
|
Revision tags: fvdl_fs64_base
|
#
1.18 |
|
21-Dec-2002 |
lukem |
Invoke ${PAX} with '-O' so that various errors don't hang the make or the command with an interactive question. (This also prevents weird problems if a directory element of '-f path' is missing and 'make -j N' is being used).
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.17 |
|
09-May-2002 |
lukem |
only provide targets for ${WORKSPEC} and ${WORKBUILT} if non are provided. this allows custom specfiles to be generated or custom WORKDIRS to be used, whilst still allowing use of IMAGE or IMAGETAR rules.
|
#
1.16 |
|
07-May-2002 |
lukem |
keep ${IMAGE} around even after building (optional) ${IMAGE}.gz
|
#
1.15 |
|
07-May-2002 |
lukem |
Use release:: instead of release: when multiple release targets may exist
|
#
1.14 |
|
07-May-2002 |
lukem |
install correct item with IMAGETAR_RELEASEDIR release target
|
#
1.13 |
|
03-May-2002 |
lukem |
revert previous; all includers of Makefile.image should set MTREECONF
|
#
1.12 |
|
02-May-2002 |
bjh21 |
When doing a shell "for" loop over a potentially-empty list, assign the list to a shell variable and iterate over that. This is necessary for some POSIX shells.
|
#
1.11 |
|
02-May-2002 |
lukem |
yet another distrib overhaul: - move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib (fixes problem caused by implicit include of ../Makefile.inc in certain submake conditions triggered by makefiles not yet in tree) - removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of etc/Makefile to create all the release directories - renamed RELINSTALL to RELEASE_INSTALL - renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR - renamed MDSETDIR to MDSET_RELEASEDIR - removed ITARGET - move release target from top level to appropriate subdirectory - ensure release target has correct depends - replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD - Makefile.image: add realall: ${IMAGE}
|
#
1.10 |
|
02-May-2002 |
lukem |
allow IMAGE to be optional (and don't create rule for ${IMAGE}: if it's not defined)
|
#
1.9 |
|
26-Apr-2002 |
lukem |
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
|
#
1.8 |
|
12-Apr-2002 |
lukem |
support optional IMAGETAR; if defined, build a tar.gz file named {IMAGETAR} which contains the same contents as ${IMAGE}.
|
#
1.7 |
|
12-Apr-2002 |
lukem |
move default PARSELISTENV and related goop into separate Makefile.parselist, and add DISTRIBDIR to PARSELISTENV.
|
#
1.6 |
|
14-Mar-2002 |
lukem |
parselist.awk - improve comments - provide a general purpose variable replacement; replace contents of ${FOO} with ENVIRON["FOO"]. - deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE} and ${MACHINE_ARCH} instead - add errx() function; like err(), but doesn't print the line number - invoke this script with various variables defined via PARSELISTENV
*/Makefile* - use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR - other minor tweaks
*/list* - replace @MACHINE@ with ${MACHINE}
|
#
1.5 |
|
14-Mar-2002 |
lukem |
cosmetic tweaks: sort some variable lists, improve descriptions, [...]
|
#
1.4 |
|
08-Feb-2002 |
lukem |
- cleanup image device creation: add Makefile.makedev & list.makedev, remove dist/*, now that they're not needed. if MAKEDEVTARGETS is set, use MAKEDEV.wrapper and makedev2spec.awk to create an mtree specfile containing the devices that would be made with "etc/etc.${MACHINE}/MAKEDEV $MAKEDEVTARGETS". otherwise, copy etc/etc.${MACHINE}/MAKEDEV to dev/MAKEDEV (via list.makedev) - add mtree.common; contains directories used by all images, and optional entries for dist/*
|
#
1.3 |
|
07-Feb-2002 |
lukem |
- improve error checking - add support for passing variables to parselist.awk that are used to replace text in each line of the lists. currently supported strings: text variable ---- -------- @MACHINE_ARCH@ MACHINE_ARCH @MACHINE@ MACHINE
|
#
1.2 |
|
05-Feb-2002 |
lukem |
- allow ${MTREECONF} to contain multiple files, and build ${WORKSPEC} up by catting these together with "/unset all" between each file. - when populating the tree (${WORKBUILT} rule), depend upon ${WORKSPEC} rather than ${MTREECONF} - support ${MAKEFS_FLAGS} as optional flags for ${MAKEFS} - use CLEANFILES to remove files
|
#
1.1 |
|
03-Feb-2002 |
lukem |
distrib/common - shared files for building distribution media, initially comprising of:
Makefile.crunch build a crunchgen(1)ed binary from the provided lists
Makefile.image build a tree from the provided lists, and build an ffs file system image from that tree using makefs(8), without requiring root privileges
parselist.awk parse list files generating different output: crunchgen config mtree specfile sh commands to populate a tree
|
#
1.41 |
|
20-Mar-2024 |
christos |
Fix reproducible builds (Jan-Benedict Glaw)
|
Revision tags: netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
|
#
1.40 |
|
11-Feb-2017 |
christos |
more MKREPRO_TIMESTAMP fixes (for pax/tar generated files)
|
Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.39 |
|
20-Dec-2015 |
christos |
branches: 1.39.2; 1.39.4; Add MKREPRO_TIMESTAMP support to the makefs invocation.
|
#
1.38 |
|
12-Aug-2014 |
martin |
Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally add files to the staging directory)
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.37 |
|
06-Aug-2014 |
apb |
To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program ${TOOL_GZIP}" on the command line, and refrain from passing "-z". If passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
|
#
1.36 |
|
06-Aug-2014 |
apb |
Introduce and use GZIP_FLAGS variable.
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but the new use of GZIP=${GZIP_FLAGS:Q} is safer.
For consistency, also use GZIP_FLAGS elesehere in this file.
|
#
1.35 |
|
05-Aug-2014 |
apb |
Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n in the environmentto commands that invoke ${TOOL_GZIP}. This will allow them to use -nT instead of just -n with pigz.
|
#
1.34 |
|
05-Aug-2014 |
apb |
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is actually pigz.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
|
#
1.33 |
|
27-Jan-2014 |
apb |
branches: 1.33.2; Use ${TOOL_GZIP} instead of just gzip in all Makefiles outside */dist/* subdirectories.
When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ}, so there's no need to test USE_PIGZGZIP in these Makefiles.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.32 |
|
24-May-2013 |
christos |
Add IMGMAKEFSOPTIONS like in the bootimage Makefile
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.31 |
|
03-Apr-2009 |
perry |
branches: 1.31.6; 1.31.12; Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
|
#
1.30 |
|
23-Jun-2008 |
matt |
branches: 1.30.4; Change remaining instances of ${RELEASEDIR}/${MACHINES} to ${RELEASEDIR}/${RELEASEMACHINEDIR}
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.29 |
|
27-Jun-2005 |
dbj |
branches: 1.29.20; 1.29.24; add "fsimage" phony target to rebuild image. delete the ${WORKBUILT} tag on cleanfsimage so it will get properly rebuilt
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.28 |
|
04-May-2004 |
lukem |
MAKEVERBOSE support
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.27 |
|
26-Oct-2003 |
lukem |
Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
|
#
1.26 |
|
03-Oct-2003 |
lukem |
Allow ${CRUNCHBIN} to be optional by defaulting to "." when doing the "${.OODATE}" check. Problem noticed in a build that uses Makefile.image but not Makefile.crunch.
|
#
1.25 |
|
10-Jul-2003 |
lukem |
Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
|
#
1.24 |
|
09-May-2003 |
dsl |
Force ramdiskbin.mk to be run to update the crunched binary. Explicitly check times on built targets so to stop make rebuilding the later targets. nbmake in src/distrib/i386/floppies/ramdisk-big (etc) will now pick up changes to source files that make the crunched binary.
|
#
1.23 |
|
02-Apr-2003 |
fvdl |
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
#
1.22 |
|
25-Mar-2003 |
lukem |
Add MAKE to PARSELISTENV, and specifically set MAKE=${MAKE} in list.sysinst. (Better fix to previous, but thanks to Warner for committing a fix which then prodded me to improve it :)
|
#
1.21 |
|
25-Mar-2003 |
imp |
Fix cross building case where the host is not a NetBSD host. We need to set MAKE for the subshell that's used to populate the work tree. It needs to be the the correct make (in the cross build case: nbmake + args) so that when makeobsolete is run it can pickup this value. Otherwise makeobsolete defaults to the host's make is used which might not understand some of NetBSD make's constructs.
This fixes, mostly, the build of NetBSD/hpcmips on a FreeBSD-current system.
|
#
1.20 |
|
11-Mar-2003 |
lukem |
add multiple-include protection. clean up some comments.
|
#
1.19 |
|
03-Jan-2003 |
lukem |
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of "${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only cleaned if UPDATE is not defined.
|
Revision tags: fvdl_fs64_base
|
#
1.18 |
|
21-Dec-2002 |
lukem |
Invoke ${PAX} with '-O' so that various errors don't hang the make or the command with an interactive question. (This also prevents weird problems if a directory element of '-f path' is missing and 'make -j N' is being used).
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.17 |
|
09-May-2002 |
lukem |
only provide targets for ${WORKSPEC} and ${WORKBUILT} if non are provided. this allows custom specfiles to be generated or custom WORKDIRS to be used, whilst still allowing use of IMAGE or IMAGETAR rules.
|
#
1.16 |
|
07-May-2002 |
lukem |
keep ${IMAGE} around even after building (optional) ${IMAGE}.gz
|
#
1.15 |
|
07-May-2002 |
lukem |
Use release:: instead of release: when multiple release targets may exist
|
#
1.14 |
|
07-May-2002 |
lukem |
install correct item with IMAGETAR_RELEASEDIR release target
|
#
1.13 |
|
03-May-2002 |
lukem |
revert previous; all includers of Makefile.image should set MTREECONF
|
#
1.12 |
|
02-May-2002 |
bjh21 |
When doing a shell "for" loop over a potentially-empty list, assign the list to a shell variable and iterate over that. This is necessary for some POSIX shells.
|
#
1.11 |
|
02-May-2002 |
lukem |
yet another distrib overhaul: - move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib (fixes problem caused by implicit include of ../Makefile.inc in certain submake conditions triggered by makefiles not yet in tree) - removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of etc/Makefile to create all the release directories - renamed RELINSTALL to RELEASE_INSTALL - renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR - renamed MDSETDIR to MDSET_RELEASEDIR - removed ITARGET - move release target from top level to appropriate subdirectory - ensure release target has correct depends - replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD - Makefile.image: add realall: ${IMAGE}
|
#
1.10 |
|
02-May-2002 |
lukem |
allow IMAGE to be optional (and don't create rule for ${IMAGE}: if it's not defined)
|
#
1.9 |
|
26-Apr-2002 |
lukem |
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
|
#
1.8 |
|
12-Apr-2002 |
lukem |
support optional IMAGETAR; if defined, build a tar.gz file named {IMAGETAR} which contains the same contents as ${IMAGE}.
|
#
1.7 |
|
12-Apr-2002 |
lukem |
move default PARSELISTENV and related goop into separate Makefile.parselist, and add DISTRIBDIR to PARSELISTENV.
|
#
1.6 |
|
14-Mar-2002 |
lukem |
parselist.awk - improve comments - provide a general purpose variable replacement; replace contents of ${FOO} with ENVIRON["FOO"]. - deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE} and ${MACHINE_ARCH} instead - add errx() function; like err(), but doesn't print the line number - invoke this script with various variables defined via PARSELISTENV
*/Makefile* - use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR - other minor tweaks
*/list* - replace @MACHINE@ with ${MACHINE}
|
#
1.5 |
|
14-Mar-2002 |
lukem |
cosmetic tweaks: sort some variable lists, improve descriptions, [...]
|
#
1.4 |
|
08-Feb-2002 |
lukem |
- cleanup image device creation: add Makefile.makedev & list.makedev, remove dist/*, now that they're not needed. if MAKEDEVTARGETS is set, use MAKEDEV.wrapper and makedev2spec.awk to create an mtree specfile containing the devices that would be made with "etc/etc.${MACHINE}/MAKEDEV $MAKEDEVTARGETS". otherwise, copy etc/etc.${MACHINE}/MAKEDEV to dev/MAKEDEV (via list.makedev) - add mtree.common; contains directories used by all images, and optional entries for dist/*
|
#
1.3 |
|
07-Feb-2002 |
lukem |
- improve error checking - add support for passing variables to parselist.awk that are used to replace text in each line of the lists. currently supported strings: text variable ---- -------- @MACHINE_ARCH@ MACHINE_ARCH @MACHINE@ MACHINE
|
#
1.2 |
|
05-Feb-2002 |
lukem |
- allow ${MTREECONF} to contain multiple files, and build ${WORKSPEC} up by catting these together with "/unset all" between each file. - when populating the tree (${WORKBUILT} rule), depend upon ${WORKSPEC} rather than ${MTREECONF} - support ${MAKEFS_FLAGS} as optional flags for ${MAKEFS} - use CLEANFILES to remove files
|
#
1.1 |
|
03-Feb-2002 |
lukem |
distrib/common - shared files for building distribution media, initially comprising of:
Makefile.crunch build a crunchgen(1)ed binary from the provided lists
Makefile.image build a tree from the provided lists, and build an ffs file system image from that tree using makefs(8), without requiring root privileges
parselist.awk parse list files generating different output: crunchgen config mtree specfile sh commands to populate a tree
|
#
1.40 |
|
11-Feb-2017 |
christos |
more MKREPRO_TIMESTAMP fixes (for pax/tar generated files)
|
Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.39 |
|
20-Dec-2015 |
christos |
Add MKREPRO_TIMESTAMP support to the makefs invocation.
|
#
1.38 |
|
12-Aug-2014 |
martin |
Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally add files to the staging directory)
|
Revision tags: netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.37 |
|
06-Aug-2014 |
apb |
To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program ${TOOL_GZIP}" on the command line, and refrain from passing "-z". If passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
|
#
1.36 |
|
06-Aug-2014 |
apb |
Introduce and use GZIP_FLAGS variable.
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but the new use of GZIP=${GZIP_FLAGS:Q} is safer.
For consistency, also use GZIP_FLAGS elesehere in this file.
|
#
1.35 |
|
05-Aug-2014 |
apb |
Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n in the environmentto commands that invoke ${TOOL_GZIP}. This will allow them to use -nT instead of just -n with pigz.
|
#
1.34 |
|
05-Aug-2014 |
apb |
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is actually pigz.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
|
#
1.33 |
|
27-Jan-2014 |
apb |
branches: 1.33.2; Use ${TOOL_GZIP} instead of just gzip in all Makefiles outside */dist/* subdirectories.
When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ}, so there's no need to test USE_PIGZGZIP in these Makefiles.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.32 |
|
24-May-2013 |
christos |
Add IMGMAKEFSOPTIONS like in the bootimage Makefile
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.31 |
|
03-Apr-2009 |
perry |
branches: 1.31.6; 1.31.12; Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
|
#
1.30 |
|
23-Jun-2008 |
matt |
branches: 1.30.4; Change remaining instances of ${RELEASEDIR}/${MACHINES} to ${RELEASEDIR}/${RELEASEMACHINEDIR}
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.29 |
|
27-Jun-2005 |
dbj |
branches: 1.29.20; 1.29.24; add "fsimage" phony target to rebuild image. delete the ${WORKBUILT} tag on cleanfsimage so it will get properly rebuilt
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.28 |
|
04-May-2004 |
lukem |
MAKEVERBOSE support
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.27 |
|
26-Oct-2003 |
lukem |
Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
|
#
1.26 |
|
03-Oct-2003 |
lukem |
Allow ${CRUNCHBIN} to be optional by defaulting to "." when doing the "${.OODATE}" check. Problem noticed in a build that uses Makefile.image but not Makefile.crunch.
|
#
1.25 |
|
10-Jul-2003 |
lukem |
Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
|
#
1.24 |
|
09-May-2003 |
dsl |
Force ramdiskbin.mk to be run to update the crunched binary. Explicitly check times on built targets so to stop make rebuilding the later targets. nbmake in src/distrib/i386/floppies/ramdisk-big (etc) will now pick up changes to source files that make the crunched binary.
|
#
1.23 |
|
02-Apr-2003 |
fvdl |
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
#
1.22 |
|
25-Mar-2003 |
lukem |
Add MAKE to PARSELISTENV, and specifically set MAKE=${MAKE} in list.sysinst. (Better fix to previous, but thanks to Warner for committing a fix which then prodded me to improve it :)
|
#
1.21 |
|
25-Mar-2003 |
imp |
Fix cross building case where the host is not a NetBSD host. We need to set MAKE for the subshell that's used to populate the work tree. It needs to be the the correct make (in the cross build case: nbmake + args) so that when makeobsolete is run it can pickup this value. Otherwise makeobsolete defaults to the host's make is used which might not understand some of NetBSD make's constructs.
This fixes, mostly, the build of NetBSD/hpcmips on a FreeBSD-current system.
|
#
1.20 |
|
11-Mar-2003 |
lukem |
add multiple-include protection. clean up some comments.
|
#
1.19 |
|
03-Jan-2003 |
lukem |
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of "${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only cleaned if UPDATE is not defined.
|
Revision tags: fvdl_fs64_base
|
#
1.18 |
|
21-Dec-2002 |
lukem |
Invoke ${PAX} with '-O' so that various errors don't hang the make or the command with an interactive question. (This also prevents weird problems if a directory element of '-f path' is missing and 'make -j N' is being used).
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.17 |
|
09-May-2002 |
lukem |
only provide targets for ${WORKSPEC} and ${WORKBUILT} if non are provided. this allows custom specfiles to be generated or custom WORKDIRS to be used, whilst still allowing use of IMAGE or IMAGETAR rules.
|
#
1.16 |
|
07-May-2002 |
lukem |
keep ${IMAGE} around even after building (optional) ${IMAGE}.gz
|
#
1.15 |
|
07-May-2002 |
lukem |
Use release:: instead of release: when multiple release targets may exist
|
#
1.14 |
|
07-May-2002 |
lukem |
install correct item with IMAGETAR_RELEASEDIR release target
|
#
1.13 |
|
03-May-2002 |
lukem |
revert previous; all includers of Makefile.image should set MTREECONF
|
#
1.12 |
|
02-May-2002 |
bjh21 |
When doing a shell "for" loop over a potentially-empty list, assign the list to a shell variable and iterate over that. This is necessary for some POSIX shells.
|
#
1.11 |
|
02-May-2002 |
lukem |
yet another distrib overhaul: - move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib (fixes problem caused by implicit include of ../Makefile.inc in certain submake conditions triggered by makefiles not yet in tree) - removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of etc/Makefile to create all the release directories - renamed RELINSTALL to RELEASE_INSTALL - renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR - renamed MDSETDIR to MDSET_RELEASEDIR - removed ITARGET - move release target from top level to appropriate subdirectory - ensure release target has correct depends - replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD - Makefile.image: add realall: ${IMAGE}
|
#
1.10 |
|
02-May-2002 |
lukem |
allow IMAGE to be optional (and don't create rule for ${IMAGE}: if it's not defined)
|
#
1.9 |
|
26-Apr-2002 |
lukem |
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
|
#
1.8 |
|
12-Apr-2002 |
lukem |
support optional IMAGETAR; if defined, build a tar.gz file named {IMAGETAR} which contains the same contents as ${IMAGE}.
|
#
1.7 |
|
12-Apr-2002 |
lukem |
move default PARSELISTENV and related goop into separate Makefile.parselist, and add DISTRIBDIR to PARSELISTENV.
|
#
1.6 |
|
14-Mar-2002 |
lukem |
parselist.awk - improve comments - provide a general purpose variable replacement; replace contents of ${FOO} with ENVIRON["FOO"]. - deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE} and ${MACHINE_ARCH} instead - add errx() function; like err(), but doesn't print the line number - invoke this script with various variables defined via PARSELISTENV
*/Makefile* - use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR - other minor tweaks
*/list* - replace @MACHINE@ with ${MACHINE}
|
#
1.5 |
|
14-Mar-2002 |
lukem |
cosmetic tweaks: sort some variable lists, improve descriptions, [...]
|
#
1.4 |
|
08-Feb-2002 |
lukem |
- cleanup image device creation: add Makefile.makedev & list.makedev, remove dist/*, now that they're not needed. if MAKEDEVTARGETS is set, use MAKEDEV.wrapper and makedev2spec.awk to create an mtree specfile containing the devices that would be made with "etc/etc.${MACHINE}/MAKEDEV $MAKEDEVTARGETS". otherwise, copy etc/etc.${MACHINE}/MAKEDEV to dev/MAKEDEV (via list.makedev) - add mtree.common; contains directories used by all images, and optional entries for dist/*
|
#
1.3 |
|
07-Feb-2002 |
lukem |
- improve error checking - add support for passing variables to parselist.awk that are used to replace text in each line of the lists. currently supported strings: text variable ---- -------- @MACHINE_ARCH@ MACHINE_ARCH @MACHINE@ MACHINE
|
#
1.2 |
|
05-Feb-2002 |
lukem |
- allow ${MTREECONF} to contain multiple files, and build ${WORKSPEC} up by catting these together with "/unset all" between each file. - when populating the tree (${WORKBUILT} rule), depend upon ${WORKSPEC} rather than ${MTREECONF} - support ${MAKEFS_FLAGS} as optional flags for ${MAKEFS} - use CLEANFILES to remove files
|
#
1.1 |
|
03-Feb-2002 |
lukem |
distrib/common - shared files for building distribution media, initially comprising of:
Makefile.crunch build a crunchgen(1)ed binary from the provided lists
Makefile.image build a tree from the provided lists, and build an ffs file system image from that tree using makefs(8), without requiring root privileges
parselist.awk parse list files generating different output: crunchgen config mtree specfile sh commands to populate a tree
|
Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.39 |
|
20-Dec-2015 |
christos |
Add MKREPRO_TIMESTAMP support to the makefs invocation.
|
#
1.38 |
|
12-Aug-2014 |
martin |
Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally add files to the staging directory)
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
#
1.37 |
|
06-Aug-2014 |
apb |
To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program ${TOOL_GZIP}" on the command line, and refrain from passing "-z". If passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
|
#
1.36 |
|
06-Aug-2014 |
apb |
Introduce and use GZIP_FLAGS variable.
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but the new use of GZIP=${GZIP_FLAGS:Q} is safer.
For consistency, also use GZIP_FLAGS elesehere in this file.
|
#
1.35 |
|
05-Aug-2014 |
apb |
Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n in the environmentto commands that invoke ${TOOL_GZIP}. This will allow them to use -nT instead of just -n with pigz.
|
#
1.34 |
|
05-Aug-2014 |
apb |
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is actually pigz.
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
|
#
1.33 |
|
27-Jan-2014 |
apb |
branches: 1.33.2; Use ${TOOL_GZIP} instead of just gzip in all Makefiles outside */dist/* subdirectories.
When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ}, so there's no need to test USE_PIGZGZIP in these Makefiles.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.32 |
|
24-May-2013 |
christos |
Add IMGMAKEFSOPTIONS like in the bootimage Makefile
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.31 |
|
03-Apr-2009 |
perry |
branches: 1.31.6; 1.31.12; Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
|
#
1.30 |
|
22-Jun-2008 |
matt |
branches: 1.30.4; Change remaining instances of ${RELEASEDIR}/${MACHINES} to ${RELEASEDIR}/${RELEASEMACHINEDIR}
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.29 |
|
27-Jun-2005 |
dbj |
branches: 1.29.20; 1.29.24; add "fsimage" phony target to rebuild image. delete the ${WORKBUILT} tag on cleanfsimage so it will get properly rebuilt
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.28 |
|
03-May-2004 |
lukem |
MAKEVERBOSE support
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.27 |
|
26-Oct-2003 |
lukem |
Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
|
#
1.26 |
|
02-Oct-2003 |
lukem |
Allow ${CRUNCHBIN} to be optional by defaulting to "." when doing the "${.OODATE}" check. Problem noticed in a build that uses Makefile.image but not Makefile.crunch.
|
#
1.25 |
|
10-Jul-2003 |
lukem |
Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
|
#
1.24 |
|
08-May-2003 |
dsl |
Force ramdiskbin.mk to be run to update the crunched binary. Explicitly check times on built targets so to stop make rebuilding the later targets. nbmake in src/distrib/i386/floppies/ramdisk-big (etc) will now pick up changes to source files that make the crunched binary.
|
#
1.23 |
|
02-Apr-2003 |
fvdl |
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
#
1.22 |
|
25-Mar-2003 |
lukem |
Add MAKE to PARSELISTENV, and specifically set MAKE=${MAKE} in list.sysinst. (Better fix to previous, but thanks to Warner for committing a fix which then prodded me to improve it :)
|
#
1.21 |
|
25-Mar-2003 |
imp |
Fix cross building case where the host is not a NetBSD host. We need to set MAKE for the subshell that's used to populate the work tree. It needs to be the the correct make (in the cross build case: nbmake + args) so that when makeobsolete is run it can pickup this value. Otherwise makeobsolete defaults to the host's make is used which might not understand some of NetBSD make's constructs.
This fixes, mostly, the build of NetBSD/hpcmips on a FreeBSD-current system.
|
#
1.20 |
|
11-Mar-2003 |
lukem |
add multiple-include protection. clean up some comments.
|
#
1.19 |
|
03-Jan-2003 |
lukem |
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of "${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only cleaned if UPDATE is not defined.
|
Revision tags: fvdl_fs64_base
|
#
1.18 |
|
21-Dec-2002 |
lukem |
Invoke ${PAX} with '-O' so that various errors don't hang the make or the command with an interactive question. (This also prevents weird problems if a directory element of '-f path' is missing and 'make -j N' is being used).
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.17 |
|
09-May-2002 |
lukem |
only provide targets for ${WORKSPEC} and ${WORKBUILT} if non are provided. this allows custom specfiles to be generated or custom WORKDIRS to be used, whilst still allowing use of IMAGE or IMAGETAR rules.
|
#
1.16 |
|
07-May-2002 |
lukem |
keep ${IMAGE} around even after building (optional) ${IMAGE}.gz
|
#
1.15 |
|
06-May-2002 |
lukem |
Use release:: instead of release: when multiple release targets may exist
|
#
1.14 |
|
06-May-2002 |
lukem |
install correct item with IMAGETAR_RELEASEDIR release target
|
#
1.13 |
|
03-May-2002 |
lukem |
revert previous; all includers of Makefile.image should set MTREECONF
|
#
1.12 |
|
02-May-2002 |
bjh21 |
When doing a shell "for" loop over a potentially-empty list, assign the list to a shell variable and iterate over that. This is necessary for some POSIX shells.
|
#
1.11 |
|
02-May-2002 |
lukem |
yet another distrib overhaul: - move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib (fixes problem caused by implicit include of ../Makefile.inc in certain submake conditions triggered by makefiles not yet in tree) - removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of etc/Makefile to create all the release directories - renamed RELINSTALL to RELEASE_INSTALL - renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR - renamed MDSETDIR to MDSET_RELEASEDIR - removed ITARGET - move release target from top level to appropriate subdirectory - ensure release target has correct depends - replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD - Makefile.image: add realall: ${IMAGE}
|
#
1.10 |
|
02-May-2002 |
lukem |
allow IMAGE to be optional (and don't create rule for ${IMAGE}: if it's not defined)
|
#
1.9 |
|
26-Apr-2002 |
lukem |
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
|
#
1.8 |
|
11-Apr-2002 |
lukem |
support optional IMAGETAR; if defined, build a tar.gz file named {IMAGETAR} which contains the same contents as ${IMAGE}.
|
#
1.7 |
|
11-Apr-2002 |
lukem |
move default PARSELISTENV and related goop into separate Makefile.parselist, and add DISTRIBDIR to PARSELISTENV.
|
#
1.6 |
|
14-Mar-2002 |
lukem |
parselist.awk - improve comments - provide a general purpose variable replacement; replace contents of ${FOO} with ENVIRON["FOO"]. - deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE} and ${MACHINE_ARCH} instead - add errx() function; like err(), but doesn't print the line number - invoke this script with various variables defined via PARSELISTENV
*/Makefile* - use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR - other minor tweaks
*/list* - replace @MACHINE@ with ${MACHINE}
|
#
1.5 |
|
13-Mar-2002 |
lukem |
cosmetic tweaks: sort some variable lists, improve descriptions, [...]
|
#
1.4 |
|
07-Feb-2002 |
lukem |
- cleanup image device creation: add Makefile.makedev & list.makedev, remove dist/*, now that they're not needed. if MAKEDEVTARGETS is set, use MAKEDEV.wrapper and makedev2spec.awk to create an mtree specfile containing the devices that would be made with "etc/etc.${MACHINE}/MAKEDEV $MAKEDEVTARGETS". otherwise, copy etc/etc.${MACHINE}/MAKEDEV to dev/MAKEDEV (via list.makedev) - add mtree.common; contains directories used by all images, and optional entries for dist/*
|
#
1.3 |
|
07-Feb-2002 |
lukem |
- improve error checking - add support for passing variables to parselist.awk that are used to replace text in each line of the lists. currently supported strings: text variable ---- -------- @MACHINE_ARCH@ MACHINE_ARCH @MACHINE@ MACHINE
|
#
1.2 |
|
05-Feb-2002 |
lukem |
- allow ${MTREECONF} to contain multiple files, and build ${WORKSPEC} up by catting these together with "/unset all" between each file. - when populating the tree (${WORKBUILT} rule), depend upon ${WORKSPEC} rather than ${MTREECONF} - support ${MAKEFS_FLAGS} as optional flags for ${MAKEFS} - use CLEANFILES to remove files
|
#
1.1 |
|
03-Feb-2002 |
lukem |
distrib/common - shared files for building distribution media, initially comprising of:
Makefile.crunch build a crunchgen(1)ed binary from the provided lists
Makefile.image build a tree from the provided lists, and build an ffs file system image from that tree using makefs(8), without requiring root privileges
parselist.awk parse list files generating different output: crunchgen config mtree specfile sh commands to populate a tree
|
#
1.38 |
|
12-Aug-2014 |
martin |
Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally add files to the staging directory)
|
#
1.37 |
|
06-Aug-2014 |
apb |
To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program ${TOOL_GZIP}" on the command line, and refrain from passing "-z". If passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
|
#
1.36 |
|
06-Aug-2014 |
apb |
Introduce and use GZIP_FLAGS variable.
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but the new use of GZIP=${GZIP_FLAGS:Q} is safer.
For consistency, also use GZIP_FLAGS elesehere in this file.
|
#
1.35 |
|
05-Aug-2014 |
apb |
Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n in the environmentto commands that invoke ${TOOL_GZIP}. This will allow them to use -nT instead of just -n with pigz.
|
#
1.34 |
|
05-Aug-2014 |
apb |
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is actually pigz.
|
#
1.33 |
|
27-Jan-2014 |
apb |
branches: 1.33.2; Use ${TOOL_GZIP} instead of just gzip in all Makefiles outside */dist/* subdirectories.
When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ}, so there's no need to test USE_PIGZGZIP in these Makefiles.
|
#
1.32 |
|
24-May-2013 |
christos |
Add IMGMAKEFSOPTIONS like in the bootimage Makefile
|
#
1.31 |
|
03-Apr-2009 |
perry |
branches: 1.31.6; 1.31.12; Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
|
#
1.30 |
|
22-Jun-2008 |
matt |
branches: 1.30.4; Change remaining instances of ${RELEASEDIR}/${MACHINES} to ${RELEASEDIR}/${RELEASEMACHINEDIR}
|
#
1.29 |
|
27-Jun-2005 |
dbj |
branches: 1.29.20; 1.29.24; add "fsimage" phony target to rebuild image. delete the ${WORKBUILT} tag on cleanfsimage so it will get properly rebuilt
|
#
1.28 |
|
03-May-2004 |
lukem |
MAKEVERBOSE support
|
#
1.27 |
|
26-Oct-2003 |
lukem |
Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
|
#
1.26 |
|
02-Oct-2003 |
lukem |
Allow ${CRUNCHBIN} to be optional by defaulting to "." when doing the "${.OODATE}" check. Problem noticed in a build that uses Makefile.image but not Makefile.crunch.
|
#
1.25 |
|
10-Jul-2003 |
lukem |
Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
|
#
1.24 |
|
09-May-2003 |
dsl |
Force ramdiskbin.mk to be run to update the crunched binary. Explicitly check times on built targets so to stop make rebuilding the later targets. nbmake in src/distrib/i386/floppies/ramdisk-big (etc) will now pick up changes to source files that make the crunched binary.
|
#
1.23 |
|
02-Apr-2003 |
fvdl |
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
#
1.22 |
|
25-Mar-2003 |
lukem |
Add MAKE to PARSELISTENV, and specifically set MAKE=${MAKE} in list.sysinst. (Better fix to previous, but thanks to Warner for committing a fix which then prodded me to improve it :)
|
#
1.21 |
|
25-Mar-2003 |
imp |
Fix cross building case where the host is not a NetBSD host. We need to set MAKE for the subshell that's used to populate the work tree. It needs to be the the correct make (in the cross build case: nbmake + args) so that when makeobsolete is run it can pickup this value. Otherwise makeobsolete defaults to the host's make is used which might not understand some of NetBSD make's constructs.
This fixes, mostly, the build of NetBSD/hpcmips on a FreeBSD-current system.
|
#
1.20 |
|
11-Mar-2003 |
lukem |
add multiple-include protection. clean up some comments.
|
#
1.19 |
|
03-Jan-2003 |
lukem |
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of "${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only cleaned if UPDATE is not defined.
|
#
1.18 |
|
21-Dec-2002 |
lukem |
Invoke ${PAX} with '-O' so that various errors don't hang the make or the command with an interactive question. (This also prevents weird problems if a directory element of '-f path' is missing and 'make -j N' is being used).
|
#
1.17 |
|
09-May-2002 |
lukem |
only provide targets for ${WORKSPEC} and ${WORKBUILT} if non are provided. this allows custom specfiles to be generated or custom WORKDIRS to be used, whilst still allowing use of IMAGE or IMAGETAR rules.
|
#
1.16 |
|
07-May-2002 |
lukem |
keep ${IMAGE} around even after building (optional) ${IMAGE}.gz
|
#
1.15 |
|
06-May-2002 |
lukem |
Use release:: instead of release: when multiple release targets may exist
|
#
1.14 |
|
06-May-2002 |
lukem |
install correct item with IMAGETAR_RELEASEDIR release target
|
#
1.13 |
|
03-May-2002 |
lukem |
revert previous; all includers of Makefile.image should set MTREECONF
|
#
1.12 |
|
02-May-2002 |
bjh21 |
When doing a shell "for" loop over a potentially-empty list, assign the list to a shell variable and iterate over that. This is necessary for some POSIX shells.
|
#
1.11 |
|
02-May-2002 |
lukem |
yet another distrib overhaul: - move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib (fixes problem caused by implicit include of ../Makefile.inc in certain submake conditions triggered by makefiles not yet in tree) - removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of etc/Makefile to create all the release directories - renamed RELINSTALL to RELEASE_INSTALL - renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR - renamed MDSETDIR to MDSET_RELEASEDIR - removed ITARGET - move release target from top level to appropriate subdirectory - ensure release target has correct depends - replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD - Makefile.image: add realall: ${IMAGE}
|
#
1.10 |
|
02-May-2002 |
lukem |
allow IMAGE to be optional (and don't create rule for ${IMAGE}: if it's not defined)
|
#
1.9 |
|
26-Apr-2002 |
lukem |
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
|
#
1.8 |
|
11-Apr-2002 |
lukem |
support optional IMAGETAR; if defined, build a tar.gz file named {IMAGETAR} which contains the same contents as ${IMAGE}.
|
#
1.7 |
|
11-Apr-2002 |
lukem |
move default PARSELISTENV and related goop into separate Makefile.parselist, and add DISTRIBDIR to PARSELISTENV.
|
#
1.6 |
|
14-Mar-2002 |
lukem |
parselist.awk - improve comments - provide a general purpose variable replacement; replace contents of ${FOO} with ENVIRON["FOO"]. - deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE} and ${MACHINE_ARCH} instead - add errx() function; like err(), but doesn't print the line number - invoke this script with various variables defined via PARSELISTENV
*/Makefile* - use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR - other minor tweaks
*/list* - replace @MACHINE@ with ${MACHINE}
|
#
1.5 |
|
13-Mar-2002 |
lukem |
cosmetic tweaks: sort some variable lists, improve descriptions, [...]
|
#
1.4 |
|
07-Feb-2002 |
lukem |
- cleanup image device creation: add Makefile.makedev & list.makedev, remove dist/*, now that they're not needed. if MAKEDEVTARGETS is set, use MAKEDEV.wrapper and makedev2spec.awk to create an mtree specfile containing the devices that would be made with "etc/etc.${MACHINE}/MAKEDEV $MAKEDEVTARGETS". otherwise, copy etc/etc.${MACHINE}/MAKEDEV to dev/MAKEDEV (via list.makedev) - add mtree.common; contains directories used by all images, and optional entries for dist/*
|
#
1.3 |
|
07-Feb-2002 |
lukem |
- improve error checking - add support for passing variables to parselist.awk that are used to replace text in each line of the lists. currently supported strings: text variable ---- -------- @MACHINE_ARCH@ MACHINE_ARCH @MACHINE@ MACHINE
|
#
1.2 |
|
05-Feb-2002 |
lukem |
- allow ${MTREECONF} to contain multiple files, and build ${WORKSPEC} up by catting these together with "/unset all" between each file. - when populating the tree (${WORKBUILT} rule), depend upon ${WORKSPEC} rather than ${MTREECONF} - support ${MAKEFS_FLAGS} as optional flags for ${MAKEFS} - use CLEANFILES to remove files
|
#
1.1 |
|
03-Feb-2002 |
lukem |
distrib/common - shared files for building distribution media, initially comprising of:
Makefile.crunch build a crunchgen(1)ed binary from the provided lists
Makefile.image build a tree from the provided lists, and build an ffs file system image from that tree using makefs(8), without requiring root privileges
parselist.awk parse list files generating different output: crunchgen config mtree specfile sh commands to populate a tree
|
#
1.29.24.1 |
|
17-Sep-2008 |
wrstuden |
Sync with wrstuden-revivesa-base-2.
|
#
1.29.20.2 |
|
05-Oct-2008 |
mjf |
Sync with HEAD.
|
#
1.29.20.1 |
|
29-Jun-2008 |
mjf |
Sync with HEAD.
|
#
1.30.4.1 |
|
13-May-2009 |
jym |
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
#
1.31.12.2 |
|
19-Aug-2014 |
tls |
Rebase to HEAD as of a few days ago.
|
#
1.31.12.1 |
|
23-Jun-2013 |
tls |
resync from head
|
#
1.31.6.1 |
|
22-May-2014 |
yamt |
sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
#
1.33.2.1 |
|
10-Aug-2014 |
tls |
Rebase.
|