mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
build: add diffconfig target
Add a "diffconfig" build target which stores the output of "scripts/diffconfig.sh" as "config.seed" in the image output directory and invoke that target by default. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
38a8cea063
commit
2a72a916ab
4
Makefile
4
Makefile
@ -87,9 +87,13 @@ prereq: $(target/stamp-prereq) tmp/.prereq_packages
|
|||||||
checksum: FORCE
|
checksum: FORCE
|
||||||
$(call sha256sums,$(BIN_DIR))
|
$(call sha256sums,$(BIN_DIR))
|
||||||
|
|
||||||
|
diffconfig: FORCE
|
||||||
|
$(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.seed
|
||||||
|
|
||||||
prepare: .config $(tools/stamp-install) $(toolchain/stamp-install)
|
prepare: .config $(tools/stamp-install) $(toolchain/stamp-install)
|
||||||
world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE
|
world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE
|
||||||
$(_SINGLE)$(SUBMAKE) -r package/index
|
$(_SINGLE)$(SUBMAKE) -r package/index
|
||||||
|
$(_SINGLE)$(SUBMAKE) -r diffconfig
|
||||||
$(_SINGLE)$(SUBMAKE) -r checksum
|
$(_SINGLE)$(SUBMAKE) -r checksum
|
||||||
|
|
||||||
.PHONY: clean dirclean prereq prepare world package/symlinks package/symlinks-install package/symlinks-clean
|
.PHONY: clean dirclean prereq prepare world package/symlinks package/symlinks-install package/symlinks-clean
|
||||||
|
Loading…
Reference in New Issue
Block a user