From f4ced4ab6fd3d0fb381ca86c02d1089a7b529e66 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 22 Apr 2013 21:28:13 -0400 Subject: build: Install package files. --- (limited to 'build') diff --git a/build b/build index 77eb487..f3e182b 100755 --- a/build +++ b/build @@ -179,6 +179,31 @@ $(install_targets): build -exec rm -f '{}' ';' find $(destdir)/usr/share/info -type f -a -size 0c -a \ -exec rm -f '{}' ';' + # TODO: Provide these files in a fixincludes package (arch:any, + # target-specific?). + rm -Rf $(destdir)/usr/lib/$(target)/gcc-$(base_version)/install-tools/ + # TODO: Provide these files in a libstdc++-*-dbg package. + rm -f $(destdir)/usr/lib/$(target)/libstdc++.so.*-gdb.py + rm -Rf $(destdir)/usr/share/gcc-*/python/libstdcxx/ + # TODO: Provide these files in a doc package. + rm -Rf $(destdir)/usr/share/man/ $(destdir)/usr/share/info/ + # TODO: Provide these files in a gcc-*-plugin-dev package. + rm -Rf $(destdir)/usr/lib/$(target)/gcc-$(base_version)/plugin/ + OPK_PACKAGES="\ + gcc-$(base_version)-$(target) \ + cpp-$(base_version)-$(target) \ + g++-$(base_version)-$(target) \ + "; \ + if [ "x$(target)" = 'x$(OPK_HOST_ARCH)' ]; then \ + OPK_PACKAGES="$${OPK_PACKAGES} \ + libgcc.1 \ + libstdc++.6 \ + libstdc++.6-$(base_version)-dev \ + gcc-$(base_version)-locales \ + "; \ + fi; \ + export OPK_PACKAGES; \ + oh-installfiles -d "$(destdir)" install: $(install_targets) -- cgit v0.9.1