From: Felix Fietkau Date: Sat, 15 May 2010 15:57:00 +0000 (+0000) Subject: only build bin packages for the selected build variants (same behaviour as with ipkg... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=73b78d4a75e61854b06bc33af78fd93780a438a5;p=openwrt%2Fstaging%2Frobimarko.git only build bin packages for the selected build variants (same behaviour as with ipkg builds) SVN-Revision: 21455 --- diff --git a/include/package-bin.mk b/include/package-bin.mk index 6ee7aed621..96c1aeffcf 100644 --- a/include/package-bin.mk +++ b/include/package-bin.mk @@ -7,6 +7,7 @@ ifeq ($(DUMP),) define BuildTarget/bin + ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT)) ifdef Package/$(1)/install ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),) compile: install-bin-$(1) @@ -16,6 +17,7 @@ ifeq ($(DUMP),) @echo "WARNING: skipping $(1) -- package not selected" endif endif + endif install-bin-$(1): $(STAMP_BUILT) rm -rf $(BIN_DIR)/$(1)