diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-10 16:35:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-10 16:35:24 +0000 |
commit | 830c308cf98f1d4a1516190425429223355f5805 (patch) | |
tree | 2d4024e6595d4107a2475a8c8baafa15b1a75ef8 /include/scan.mk | |
parent | 3d8c8cf3bb3c56d84051de4fcd0c16c6f7cd4e10 (diff) | |
download | mtk-20170518-830c308cf98f1d4a1516190425429223355f5805.zip mtk-20170518-830c308cf98f1d4a1516190425429223355f5805.tar.gz mtk-20170518-830c308cf98f1d4a1516190425429223355f5805.tar.bz2 |
build: ignore the linux package in the sdk only for generating package data, not for dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48171
Diffstat (limited to 'include/scan.mk')
-rw-r--r-- | include/scan.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/scan.mk b/include/scan.mk index 00cfe31..5af0359 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -26,12 +26,8 @@ define feedname $(if $(patsubst feeds/%,,$(1)),,$(word 2,$(subst /, ,$(1)))) endef -ifdef SDK - IGNORE_PACKAGES = linux -endif - define PackageDir - $(if $(filter $(addprefix %_,$(IGNORE_PACKAGES)),$(1)),,$(TMP_DIR)/.$(SCAN_TARGET): $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1)) + $(TMP_DIR)/.$(SCAN_TARGET): $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1) $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1): $(SCAN_DIR)/$(2)/Makefile $(SCAN_STAMP) $(foreach DEP,$(DEPS_$(SCAN_DIR)/$(2)/Makefile) $(SCAN_DEPS),$(wildcard $(if $(filter /%,$(DEP)),$(DEP),$(SCAN_DIR)/$(2)/$(DEP)))) { \ $$(call progress,Collecting $(SCAN_NAME) info: $(SCAN_DIR)/$(2)) \ |