diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-15 23:56:40 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-15 23:56:40 +0000 |
commit | fd8e41eac7edcaf155fe125da755ee17a117aefb (patch) | |
tree | 84e886bdfa12ad5807da661d97ceaca66c2d16a2 /release/Makefile | |
parent | 6339980d3779b2b1cd4459ca94ec77f42d5cc591 (diff) | |
download | FreeBSD-src-fd8e41eac7edcaf155fe125da755ee17a117aefb.zip FreeBSD-src-fd8e41eac7edcaf155fe125da755ee17a117aefb.tar.gz |
Make the bootonly CD smaller by discarding static libraries that are not
useful without a toolchain.
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/Makefile b/release/Makefile index 96bfac2..f8a52d6 100644 --- a/release/Makefile +++ b/release/Makefile @@ -111,8 +111,7 @@ system: packagesystem # Install system -mkdir ${.OBJDIR}/release cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \ - DESTDIR=${.OBJDIR}/release WITHOUT_RESCUE=1 - -rm ${.OBJDIR}/release/boot/kernel/*.symbols + DESTDIR=${.OBJDIR}/release WITHOUT_RESCUE=1 WITHOUT_KERNEL_SYMBOLS=1 # Copy distfiles mkdir ${.OBJDIR}/release/usr/freebsd-dist cp ${.OBJDIR}/*.txz ${.OBJDIR}/MANIFEST \ @@ -136,8 +135,9 @@ bootonly: packagesystem WITHOUT_BIND_DNSSEC=1 WITHOUT_BIND_ETC=1 WITHOUT_BIND_MTREE=1 \ WITHOUT_BIND_NAMED=1 WITHOUT_GAMES=1 WITHOUT_GROFF=1 \ WITHOUT_INSTALLLIB=1 WITHOUT_LIB32=1 WITHOUT_MAIL=1 \ - WITHOUT_NCP=1 WITHOUT_TOOLCHAIN=1 WITHOUT_RESCUE=1 WITHOUT_DICT=1 - -rm ${.OBJDIR}/bootonly/boot/kernel/*.symbols + WITHOUT_NCP=1 WITHOUT_TOOLCHAIN=1 WITHOUT_PROFILE=1 \ + WITHOUT_INSTALLIB=1 WITHOUT_RESCUE=1 WITHOUT_DICT=1 \ + WITHOUT_KERNEL_SYMBOLS=1 # Copy manifest only (no distfiles) to get checksums mkdir ${.OBJDIR}/bootonly/usr/freebsd-dist cp ${.OBJDIR}/MANIFEST ${.OBJDIR}/bootonly/usr/freebsd-dist |