summaryrefslogtreecommitdiff
path: root/include/package.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-30 21:39:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-30 21:39:37 +0000
commit5af24a0373b96ac1798798e69699ea6b1f59a2b9 (patch)
treebb253f40238bb3dace9bf3c39bd81c62863c4d19 /include/package.mk
parent2d3da58dc675357a0a4b1081a4fe30a0e77e19c6 (diff)
downloadmtk-20170518-5af24a0373b96ac1798798e69699ea6b1f59a2b9.zip
mtk-20170518-5af24a0373b96ac1798798e69699ea6b1f59a2b9.tar.gz
mtk-20170518-5af24a0373b96ac1798798e69699ea6b1f59a2b9.tar.bz2
build all packages in a package directory by default if DEVELOPER or SDK is set
SVN-Revision: 5684
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk
index 648bda8..cf8771a 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -127,7 +127,7 @@ define BuildPackage
install-targets: $$(INFO_$(1))
endif
- ifneq ($(CONFIG_PACKAGE_$(1)),)
+ ifneq ($(CONFIG_PACKAGE_$(1))$(DEVELOPER)$(SDK),)
compile-targets: $$(IPKG_$(1))
else
compile-targets: $(1)-disabled
@@ -257,7 +257,7 @@ define BuildPackage
$$(eval $$(call Build/DefaultTargets,$(1)))
ifdef Package/$(1)/install
- ifneq ($$(CONFIG_PACKAGE_$(1)),)
+ ifneq ($$(CONFIG_PACKAGE_$(1))$(DEVELOPER)$(SDK),)
ifneq ($(MAKECMDGOALS),prereq)
ifneq ($(DUMP),1)
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install '$$(IPKG_$(1))' '$(PKG_BUILD_DIR)'),$$(IPKG_$(1)))