From 7edb66174d4c9212e7540dac44676a8f6341e771 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 26 Apr 2013 17:48:43 -0400 Subject: build: Rm unneeded files in installcross targets. --- 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="\ -- cgit v0.9.1