Remove gdb-server from rootfs

pull/302/head
Igor Zalatov (from Citadel PC) 2022-07-31 16:33:01 +03:00
parent e3c305e6cf
commit 2e95de6da3
3 changed files with 10 additions and 0 deletions

View File

@ -18,3 +18,5 @@ echo 'Note: BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"'
# Comment out this line if you want to save the libraries
# rm -f ${TARGET_DIR}/usr/lib/libstdc++*
#
rm -f ${TARGET_DIR}/usr/bin/gdbserver

View File

@ -22,3 +22,5 @@ ln -sfv ../../lib/libc.so ${TARGET_DIR}/usr/bin/ldd
if ! grep -q ^BR2_PACKAGE_WIFIBROADCAST=y ${BR2_CONFIG}; then
rm -f ${TARGET_DIR}/usr/lib/libstdc++*
fi
rm -f ${TARGET_DIR}/usr/bin/gdbserver

View File

@ -15,3 +15,9 @@ fi
#
echo 'Note: BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"'
#
if ! grep -q ^BR2_PACKAGE_WIFIBROADCAST=y ${BR2_CONFIG}; then
rm -f ${TARGET_DIR}/usr/lib/libstdc++*
fi
rm -f ${TARGET_DIR}/usr/bin/gdbserver