diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-08 23:06:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-08 23:06:59 +0000 |
commit | 055ef8d6913426d01f433b3189b0031fb3eed359 (patch) | |
tree | 1cbdfd4209752fb7f497f80fa73f3d112d62b8f2 /include/scan.mk | |
parent | f15fc140f1e93ea2fbe1769782968a248bb4f5df (diff) | |
download | mtk-20170518-055ef8d6913426d01f433b3189b0031fb3eed359.zip mtk-20170518-055ef8d6913426d01f433b3189b0031fb3eed359.tar.gz mtk-20170518-055ef8d6913426d01f433b3189b0031fb3eed359.tar.bz2 |
build: do not allow the SDK to reconfigure built-in kernel modules
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48155
Diffstat (limited to 'include/scan.mk')
-rw-r--r-- | include/scan.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/scan.mk b/include/scan.mk index 5af0359..00cfe31 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -26,8 +26,12 @@ define feedname $(if $(patsubst feeds/%,,$(1)),,$(word 2,$(subst /, ,$(1)))) endef +ifdef SDK + IGNORE_PACKAGES = linux +endif + define PackageDir - $(TMP_DIR)/.$(SCAN_TARGET): $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1) + $(if $(filter $(addprefix %_,$(IGNORE_PACKAGES)),$(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)) \ |