diff options
author | Josef Karthauser <joe@FreeBSD.org> | 2000-12-18 16:28:03 +0000 |
---|---|---|
committer | Josef Karthauser <joe@FreeBSD.org> | 2000-12-18 16:28:03 +0000 |
commit | 5e75ac9fe245c9a5a50e48a679f0394788fca534 (patch) | |
tree | f39bdb029b0e28c7d7d020998cd8633e8e8586f1 /release | |
parent | d556784aa35a516d51d58bf5c438ce3aca02bb08 (diff) | |
download | src-5e75ac9fe245c9a5a50e48a679f0394788fca534.tar.gz src-5e75ac9fe245c9a5a50e48a679f0394788fca534.zip |
Utilise the -p file to crunchgen to specify where the objects should
be built and remove the previous glue that did the same thing.
Notes
Notes:
svn path=/head/; revision=70156
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 53afe4f1c47e..0879ef685e85 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 |