From 6dd6520cc8420a8c13940cb2bf802947fbd7c4f0 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 15 May 2010 15:57:00 +0000 Subject: only build bin packages for the selected build variants (same behaviour as with ipkg builds) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21455 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/package-bin.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/package-bin.mk') diff --git a/include/package-bin.mk b/include/package-bin.mk index 6ee7aed62..96c1aeffc 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) -- cgit v1.2.3