diff options
| author | Programmingkid | 2015-05-19 10:11:17 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-05-19 10:11:17 +0200 |
| commit | 4e34017c21485e5606beda7e6218c36d3568b363 (patch) | |
| tree | 14aa691ca6b6ced82b1c487265d2aaf3b2856694 /Makefile.target | |
| parent | ui/cocoa: Make -full-screen option work on Mac OS X (diff) | |
| download | qemu-4e34017c21485e5606beda7e6218c36d3568b363.tar.gz qemu-4e34017c21485e5606beda7e6218c36d3568b363.tar.xz qemu-4e34017c21485e5606beda7e6218c36d3568b363.zip | |
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.target | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target index 1083377403..be01dd39c1 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)$@") |
