X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2FMakefile;h=7d2c42d8b8cad5ff5afd81924eec044482acd0d7;hb=a33e79fbcb9b157574de4baaea87b5870e29d798;hp=2180df3b37b0cef89c4f95d36c8c440bc6a68562;hpb=e593f00fc1336aa9e68e7758a48062ae186eaa01;p=openwrt.git diff --git a/package/Makefile b/package/Makefile index 2180df3b37..7d2c42d8b8 100644 --- a/package/Makefile +++ b/package/Makefile @@ -14,7 +14,7 @@ ifeq ($(SDK),1) else $(curdir)/builddirs-default:=. $(sort $(package-y) $(package-m)) $(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m)) - $(curdir)/builddirs-install:=. $(sort $(package-y)) + $(curdir)/builddirs-install:=. $(filter-out base-files,$(sort $(package-y))) $(filter base-files,$(package-y)) endif ifneq ($(IGNORE_ERRORS),) $(curdir)/builddirs-ignore-compile:= $(if $(filter n m y, $(IGNORE_ERRORS)),$(foreach m,$(IGNORE_ERRORS),$(package-$(subst n,,$(m)))),$(package-m) $(package-)) @@ -85,6 +85,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build @-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf @-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf @-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f + rm -f $(TARGET_DIR)/usr/lib/opkg/info/*.postinst $(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/opkg) $(call mklibs)