diff options
author | P. 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) |
commit | 7edb66174d4c9212e7540dac44676a8f6341e771 (patch) | |
tree | 24ba11ae30fa74bf79f7e765fcb2d9884dc62fcd /build | |
parent | 70b648ec106a87b2ef9933832b18257221959d48 (diff) |
build: Rm unneeded files in installcross targets.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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="\ |