mirror of https://github.com/hak5/openwrt.git
detect changes in package/kernel/modules/*.mk when scanning the package metadata
SVN-Revision: 6746lede-17.01
parent
e71ae20b0b
commit
36b75197e3
|
@ -32,6 +32,11 @@ $(SCAN_STAMP):
|
|||
touch $@
|
||||
endif
|
||||
|
||||
# FIXME: generate this dynamically?
|
||||
ifeq ($(SCAN_TARGET),pkginfo)
|
||||
tmp/info/.pkginfo-kernel: $(shell ls package/kernel/modules/*.mk)
|
||||
endif
|
||||
|
||||
define scanfiles
|
||||
$(foreach FILE,$(SCAN),
|
||||
tmp/.$(SCAN_TARGET): tmp/info/.$(SCAN_TARGET)-$(FILE) FORCE
|
||||
|
|
Loading…
Reference in New Issue