Mercurial > hg > aboriginal
changeset 310:3a1ae92d6f6a
Teach BUILD_SHORT to remove include files (saving ~5 megs), and move the
mini-native busybox build to using the same config file as host-tools,
instead of defconfig. (The 2.6.25 kernel removed asm/page.h which breaks
the mkswap build.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 27 Mar 2008 21:54:27 -0500 |
parents | 352b71189c93 |
children | a791ca629d9c |
files | mini-native.sh |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mini-native.sh Thu Mar 27 21:50:51 2008 -0500 +++ b/mini-native.sh Thu Mar 27 21:54:27 2008 -0500 @@ -47,9 +47,9 @@ # Build and install busybox setupfor busybox -#cp "${SOURCES}/config-busybox" .config && -#yes "" | make oldconfig && -make defconfig && +cp "${SOURCES}/config-busybox" .config && +yes "" | make oldconfig && +#make defconfig && make -j $CPUS CROSS="${ARCH}-" && cp busybox "${TOOLS}/bin" [ $? -ne 0 ] && dienow @@ -61,8 +61,10 @@ cleanup busybox -if [ -z "${BUILD_SHORT}" ] +if [ ! -z "${BUILD_SHORT}" ] then + rm -rf "${TOOLS}"/include +else # Build and install native binutils