mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 00:35:34 +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
|
@ -180,7 +180,7 @@ TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py
|
|||
config-%.h: config-%.h-timestamp
|
||||
@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")
|
||||
|
||||
.PHONY: clean-timestamp
|
||||
|
|
Loading…
Reference in a new issue