mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 20:38:28 +00:00
Makefile: add dependency on scripts/create_config
Make sure that config-host.h and config-target.h are rebuilt whenever there is a change in the scripts that generates them; add the dependency to the pattern rule as suggested by Peter. Backports commit 553350156d80c18d0127c742f47b7adbd642f3ef from qemu
This commit is contained in:
parent
c17a3070ea
commit
1db22b5889
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py
|
||||||
config-%.h: config-%.h-timestamp
|
config-%.h: config-%.h-timestamp
|
||||||
@cmp $< $@ >/dev/null 2>&1 || cp $< $@
|
@cmp $< $@ >/dev/null 2>&1 || cp $< $@
|
||||||
|
|
||||||
config-%.h-timestamp: config-%.mak
|
config-%.h-timestamp: config-%.mak $(SRC_PATH)/scripts/create_config
|
||||||
$(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, " GEN $(TARGET_DIR)config-$*.h")
|
$(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, " GEN $(TARGET_DIR)config-$*.h")
|
||||||
|
|
||||||
.PHONY: clean-timestamp
|
.PHONY: clean-timestamp
|
||||||
|
|
Loading…
Reference in a new issue