OSDN Git Service

build: add $(TARGET_DIR) to "GEN config-target.h" lines
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Sep 2012 08:31:17 +0000 (10:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Dec 2012 07:29:06 +0000 (08:29 +0100)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rules.mak

index 77d2360..8448b94 100644 (file)
--- a/rules.mak
+++ b/rules.mak
@@ -71,7 +71,7 @@ TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py
        @test -f $@ || cp $< $@
 
 %.h-timestamp: %.mak
-       $(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, "  GEN   $*.h")
+       $(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, "  GEN   $(TARGET_DIR)$*.h")
        @cmp $@ $*.h >/dev/null 2>&1 || cp $@ $*.h
 
 # will delete the target of a rule if commands exit with a nonzero exit status