Browse Source

- better cleanup

master
vanhofen 3 years ago
parent
commit
2837f9ba61
  1. 4
      make/target-rootfs.mk
  2. 1
      package/pkg-cmake.mk

4
make/target-rootfs.mk

@ -101,10 +101,14 @@ rootfs-cleanup: $(ROOTFS)
rm -rf $(ROOTFS)$(base_libdir)/pkgconfig rm -rf $(ROOTFS)$(base_libdir)/pkgconfig
rm -rf $(ROOTFS)$(includedir) rm -rf $(ROOTFS)$(includedir)
rm -rf $(ROOTFS)$(libdir)/pkgconfig rm -rf $(ROOTFS)$(libdir)/pkgconfig
rm -rf $(ROOTFS)$(libdir)/cmake
rm -rf $(ROOTFS)$(libdir)/sigc++* rm -rf $(ROOTFS)$(libdir)/sigc++*
rm -rf $(ROOTFS)$(libdir)/glib-2.0 rm -rf $(ROOTFS)$(libdir)/glib-2.0
rm -f $(ROOTFS)$(libdir)/libvorbisenc* rm -f $(ROOTFS)$(libdir)/libvorbisenc*
rm -rf $(ROOTFS)/.git rm -rf $(ROOTFS)/.git
ifeq ($(BOXSERIES),hd1)
rm -rf $(ROOTFS)$(datadir)/bash-completion
endif
find $(ROOTFS) -name .gitignore -type f -print0 | xargs --no-run-if-empty -0 rm -f find $(ROOTFS) -name .gitignore -type f -print0 | xargs --no-run-if-empty -0 rm -f
find $(ROOTFS) -name Makefile.am -type f -print0 | xargs --no-run-if-empty -0 rm -f find $(ROOTFS) -name Makefile.am -type f -print0 | xargs --no-run-if-empty -0 rm -f
find $(ROOTFS)$(base_libdir) \( -name '*.a' -o -name '*.la' \) -print0 | xargs --no-run-if-empty -0 rm -f find $(ROOTFS)$(base_libdir) \( -name '*.a' -o -name '*.la' \) -print0 | xargs --no-run-if-empty -0 rm -f

1
package/pkg-cmake.mk

@ -66,7 +66,6 @@ define cmake-package
$(call TARGET_CMAKE) $(call TARGET_CMAKE)
$(call TARGET_MAKE) $(call TARGET_MAKE)
$(call TARGET_MAKE_INSTALL) $(call TARGET_MAKE_INSTALL)
$(TARGET_RM) $(TARGET_libdir)/cmake
$(call TARGET_FOLLOWUP) $(call TARGET_FOLLOWUP)
endef endef

Loading…
Cancel
Save