summaryrefslogtreecommitdiffstats
path: root/Makefile.target
diff options
context:
space:
mode:
authorProgrammingkid <programmingkidx@gmail.com>2015-05-19 09:11:17 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-05-19 09:11:17 +0100
commit4e34017c21485e5606beda7e6218c36d3568b363 (patch)
tree14aa691ca6b6ced82b1c487265d2aaf3b2856694 /Makefile.target
parent43227af88a36faed50cedb0c7cef71a49c0be9d2 (diff)
downloadhqemu-4e34017c21485e5606beda7e6218c36d3568b363.zip
hqemu-4e34017c21485e5606beda7e6218c36d3568b363.tar.gz
Makefile.target: set icon for binary file on Mac OS X
Implements setting the icon for the binary file in Mac OS X. Signed-off-by: John Arbuckle <programmingkidx@gmail.com> [PMM: tweaked makefile to use $@ and quiet-command] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index 1083377..be01dd3 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -180,6 +180,10 @@ $(QEMU_PROG_BUILD): config-devices.mak
# build either PROG or PROGW
$(QEMU_PROG_BUILD): $(all-obj-y) ../libqemuutil.a ../libqemustub.a
$(call LINK, $(filter-out %.mak, $^))
+ifdef CONFIG_DARWIN
+ $(call quiet-command,Rez -append $(SRC_PATH)/pc-bios/qemu.rsrc -o $@," REZ $(TARGET_DIR)$@")
+ $(call quiet-command,SetFile -a C $@," SETFILE $(TARGET_DIR)$@")
+endif
gdbstub-xml.c: $(TARGET_XML_FILES) $(SRC_PATH)/scripts/feature_to_c.sh
$(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/scripts/feature_to_c.sh $@ $(TARGET_XML_FILES)," GEN $(TARGET_DIR)$@")
OpenPOWER on IntegriCloud