diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-22 07:08:39 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-22 07:08:39 +0000 |
commit | f1da5431bb3e440f3d1337a8ec08cc09611a1550 (patch) | |
tree | 1f72522059329319cd185e32f50190e87f48969a /include | |
parent | 8b689d039739629ec24c86e47e4aa32e5b80f2bb (diff) | |
download | mtk-20170518-f1da5431bb3e440f3d1337a8ec08cc09611a1550.zip mtk-20170518-f1da5431bb3e440f3d1337a8ec08cc09611a1550.tar.gz mtk-20170518-f1da5431bb3e440f3d1337a8ec08cc09611a1550.tar.bz2 |
build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)
SVN-Revision: 18464
Diffstat (limited to 'include')
-rw-r--r-- | include/package-ipkg.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index bd4e28c..1ddd80a 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -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)) |