Skip to content

Commit

Permalink
cleanup new arch files
Browse files Browse the repository at this point in the history
  • Loading branch information
duhow committed Jan 12, 2024
1 parent b040739 commit caa4cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ staging_to_target() {

# cleanup unused data
cd ${STAGING_TO_TARGET_DIR}
for name in libexec/gcc lib/gcc lib/cmake include man arm-linux-gnueabihf; do
for name in libexec/gcc lib/gcc lib/cmake include man arm-linux-gnueabihf arm-none-linux-gnueabihf; do
echo "rm usr/${name}"
rm -rf usr/${name}
done
Expand All @@ -497,7 +497,7 @@ staging_to_target() {

# delete unused compilers in target dir
cd ${STAGING_TO_TARGET_DIR}/usr/bin
rm gcov* gcc* g++ cpp c++ arm-linux-gnueabihf-*
rm gcov* gcc* g++ cpp c++ arm-linux-gnueabihf-* arm-none-linux-gnueabihf-* lto-dump

# remove .la and .pc files
echo "cd ${STAGING_TO_TARGET_DIR}/${INSTALL_PREFIX}"
Expand Down

0 comments on commit caa4cd1

Please sign in to comment.