summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/build b/build
index 5831920..0c85b65 100755
--- a/build
+++ b/build
@@ -66,6 +66,11 @@ install: build
# TODO: Replace $(OPK_HOST_ARCH) with the target arch.
oh-autoinstall -B gcc-build -T install -- \
toolexeclibdir=/usr/lib/$(OPK_HOST_ARCH) MULTIOSDIR=
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libiberty.a
+ mv dest/usr/lib/$(OPK_HOST_ARCH)/gcc/*/*/ \
+ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/
+ rmdir dest/usr/lib/$(OPK_HOST_ARCH)/gcc/*/
+ rmdir dest/usr/lib/$(OPK_HOST_ARCH)/gcc/
# POSIX.1-2008:
# If the pathname does not begin with a '/' it shall be treated as relative to