|
|
Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
---
Makefile.target | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 41366ee..47a4ada 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -737,11 +737,10 @@ $(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a
endif # !CONFIG_USER_ONLY
gdbstub-xml.c: $(TARGET_XML_FILES) feature_to_c.sh
- rm -f $@
ifeq ($(TARGET_XML_FILES),)
- echo > $@
-else
- $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES)
+ $(call quiet-command,rm -f $@ && echo > $@," GEN $(TARGET_DIR)$@")
+else
+ $(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/feature_to_c.sh
$@ $(TARGET_XML_FILES)," GEN $(TARGET_DIR)$@")
endif
clean:
|
|