some update
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -d out ]; then
|
||||
rm -rv out;
|
||||
rm -rvf out;
|
||||
fi
|
||||
if [ -d build ]; then
|
||||
rm -rv build
|
||||
rm -rvf build
|
||||
fi
|
||||
|
||||
@@ -29,4 +29,5 @@ dropbear() {
|
||||
${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/bin/*
|
||||
mkdir -pv $build/rootfs/etc/dropbear
|
||||
# check $? "Installing to rootfs zlib"
|
||||
rm -rvf $rootfspath/usr/share/man
|
||||
}
|
||||
|
||||
@@ -21,4 +21,7 @@ zlib() {
|
||||
# rm -rv $rootfspath/usr/include $rootfspath/usr/share/man $rootfspath/usr/lib/{pkgconfig,libz.a}
|
||||
${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/lib/libz.so.${pkgver}
|
||||
check $? "Installing to rootfs ${pkgname}"
|
||||
rm -rvf $rootfspath/usr/lib/pkgconfig
|
||||
find $rootfspath -type f -name "*.a" -delete
|
||||
find $rootfspath -type f -name "*.la" -delete
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user