diff options
author | joe <joe@FreeBSD.org> | 2000-12-18 16:28:03 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2000-12-18 16:28:03 +0000 |
commit | da659a35600899a3ec806b3a348fca69d2e4c64a (patch) | |
tree | d0a223fbeedfe30580c3f328c54db1c9a4bfe08f /release | |
parent | 3918bafb693d74e0f8588a72df5c05e4da554c28 (diff) | |
download | FreeBSD-src-da659a35600899a3ec806b3a348fca69d2e4c64a.zip FreeBSD-src-da659a35600899a3ec806b3a348fca69d2e4c64a.tar.gz |
Utilise the -p file to crunchgen to specify where the objects should
be built and remove the previous glue that did the same thing.
Diffstat (limited to 'release')
-rw-r--r-- | release/picobsd/build/Makefile.crunch | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/picobsd/build/Makefile.crunch b/release/picobsd/build/Makefile.crunch index 53afe4f..0879ef6 100644 --- a/release/picobsd/build/Makefile.crunch +++ b/release/picobsd/build/Makefile.crunch @@ -8,12 +8,11 @@ all: crunch crunch: @cat crunch.conf|sed -e "s@/usr/src@${SRC}@" >crunch1.conf @( if [ -f crunch.inc ] ; then \ - crunchgen -o -h ./crunch.inc ./crunch1.conf ; \ + crunchgen -p ${PICO_OBJ} -o -h ./crunch.inc ./crunch1.conf ; \ else \ - crunchgen -o ./crunch1.conf ; \ + crunchgen -p ${PICO_OBJ} -o ./crunch1.conf ; \ fi ) - @perl -pi -e 's#${OBJ}#${PICO_OBJ}#g' crunch1.mk ; - @env MAKEOBJDIRPREFIX=${PICO_OBJ} ${MAKE} -f crunch1.mk all + @${MAKE} -f crunch1.mk strip --remove-section=.note --remove-section=.comment crunch1 |