build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)

SVN-Revision: 18464
This commit is contained in:
Felix Fietkau
2009-11-22 07:08:39 +00:00
parent 8b689d0397
commit f1da5431bb
2 changed files with 4 additions and 7 deletions

View File

@@ -36,6 +36,7 @@ ifeq ($(DUMP),)
IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg-$(PKGARCH)/$(1)
INFO_$(1):=$(IPKG_STATE_DIR)/info/$(1).list
ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT))
ifdef Package/$(1)/install
ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
compile: $$(IPKG_$(1)) $(STAGING_DIR_ROOT)/stamp/.$(1)_installed
@@ -49,6 +50,7 @@ ifeq ($(DUMP),)
@echo "WARNING: skipping $(1) -- package not selected"
endif
endif
endif
IDEPEND_$(1):=$$(call filter_deps,$$(DEPENDS))