projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add check for openwrt build system makefiles when scanning for metadata
[openwrt.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
bcbfd56
..
bee47c4
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-45,9
+45,11
@@
ifeq ($(FORCE),)
endif
tmp/.pkginfo: FORCE
endif
tmp/.pkginfo: FORCE
+ @mkdir -p tmp/info
@$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="pkginfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(shell ls include/package*.mk) include/kernel.mk" SCAN_EXTRA=""
tmp/.targetinfo: FORCE
@$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="pkginfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(shell ls include/package*.mk) include/kernel.mk" SCAN_EXTRA=""
tmp/.targetinfo: FORCE
+ @mkdir -p tmp/info
@$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPS="$(shell ls include/kernel*.mk)" SCAN_EXTRA=""
tmpinfo-clean: FORCE
@$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPS="$(shell ls include/kernel*.mk)" SCAN_EXTRA=""
tmpinfo-clean: FORCE
@@
-89,11
+91,14
@@
kernel_menuconfig: .config FORCE
-$(MAKE) target/linux-prepare
$(NO_TRACE_MAKE) -C target/linux menuconfig
-$(MAKE) target/linux-prepare
$(NO_TRACE_MAKE) -C target/linux menuconfig
-package/%:
+scan_packages:
@$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo
@$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo
+
+
+package/%: scan_packages
$(MAKE) -C package $(patsubst package/%,%,$@)
$(MAKE) -C package $(patsubst package/%,%,$@)
-target/%:
+target/%:
scan_packages
@$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo
$(MAKE) -C target $(patsubst target/%,%,$@)
@$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo
$(MAKE) -C target $(patsubst target/%,%,$@)
This page took
0.021153 seconds
and
4
git commands to generate.