kernel: bump 4.9 to 4.9.138
[openwrt/staging/chunkeey.git] / include / scan.mk
index 86d9576c8247be8a49a795d54e9c43594ee64e5a..e6b21b27b009ce14f8683980add8d2be3bea9340 100644 (file)
@@ -12,6 +12,12 @@ OVERRIDELIST:=$(TMP_DIR)/info/.overrides-$(SCAN_TARGET)-$(SCAN_COOKIE)
 
 export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
 
+ifeq ($(SCAN_NAME),target)
+  SCAN_DEPS=image/Makefile profiles/*.mk $(TOPDIR)/include/kernel*.mk $(TOPDIR)/include/target.mk image/*.mk
+else
+  SCAN_DEPS=$(TOPDIR)/include/package*.mk
+endif
+
 ifeq ($(IS_TTY),1)
   define progress
        printf "\033[M\r$(1)" >&2;