This commit is contained in:
wt committed 2026-02-26 13:40:18 +07:00
1 parent ac7cb03d8e
commit 446ae02775
28 files changed
+140 -86

No files matched your search

+7 -7
View File
@@ -24,13 +24,13 @@ uclibc() {
sed -i 's/constexpr/is_constant/g' extra/scripts/unifdef.c
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- DESTDIR=$rootfspath install # &>> $fulllogfile
check $? "Install ${pkgname} 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 $rootfspath/usr/lib/*
rm -rv $rootfspath/usr/include
cd $root
# 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 $rootfspath/usr/lib/*
# rm -rv $rootfspath/usr/include
# cd $root
check $? "Build and install ${pkgname}"
}
#-----------------------------------------------------------