summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-26 17:48:43 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-26 17:48:43 (EDT)
commit7edb66174d4c9212e7540dac44676a8f6341e771 (patch)
tree24ba11ae30fa74bf79f7e765fcb2d9884dc62fcd
parent70b648ec106a87b2ef9933832b18257221959d48 (diff)
build: Rm unneeded files in installcross targets.
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index 154cf36..81142cb 100755
--- a/build
+++ b/build
@@ -249,6 +249,14 @@ $(installcross_targets):
$(destdir)/usr/bin/*-$${f}-$(base_version) | \
sed "s/^.*-\($${f}\)/\1/"); \
done
+ libdir=/usr/lib/$(target) && \
+ rm -Rf \
+ $(destdir)$${libdir}/gcc-$(base_version)/liblto_plugin.la \
+ $(destdir)$${libdir}/gcc-$(base_version)/install-tools \
+ $(destdir)$${libdir}/gcc-$(base_version)/plugin \
+ $(destdir)/usr/share/locale \
+ $(destdir)/usr/share/man \
+ $(destdir)/usr/share/info
oh-fixperms -d "$(destdir)"
oh-strip -d "$(destdir)"
OPK_PACKAGES="\