update for rootfs_usable
This commit is contained in:
+4
-4
@@ -13,17 +13,17 @@ uclibc() {
|
||||
check $? "Extract uclibc"
|
||||
cd uClibc-ng-1.0.50
|
||||
cp -rv $root/uclibc/config-1.0.50 .config
|
||||
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE oldconfig
|
||||
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- oldconfig
|
||||
check $? "Configure uclibc"
|
||||
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE $makeflags # &>> $fulllogfile
|
||||
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- $makeflags # &>> $fulllogfile
|
||||
check $? "Build uclibc"
|
||||
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE DESTDIR=$rootfspath install # &>> $fulllogfile
|
||||
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- DESTDIR=$rootfspath install # &>> $fulllogfile
|
||||
check $? "Install uclibc to rootfs"
|
||||
cd $rootfspath
|
||||
find -name \*.a -delete # &>> $fulllogfile
|
||||
find -name \*.o -delete
|
||||
rm -v $rootfspath/usr/lib/libc.so
|
||||
${CROSS_COMPILE}strip --strip-unneeded $rootfspath/usr/lib/* $rootfspath/usr/bin/* # &>> $fulllogfile
|
||||
${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/lib/* $rootfspath/usr/bin/* # &>> $fulllogfile
|
||||
rm -rv $rootfspath/usr/include
|
||||
cd $root
|
||||
check $? "Build and install uclibc"
|
||||
|
||||
Reference in New Issue
Block a user