Skip to contentSkip to conversation

Makefile.target: set icon for binary file on Mac OS X

PATCH Superseded Programmingkid 1 participant 1 message Feb 19, 2015 Kbuild

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Makefile.target: set icon for binary file on Mac OS X

This patch sets the icon for the QEMU binary on Mac OS X.

---
Removed the creating of a rsrc file.
Removed the sips command.
Moved the Rez and SetFile command to another location. Removed the give_icon rule.
Added a file called qemu.rsrc.

 Makefile.target   |    2 +
 pc-bios/qemu.rsrc | 1504 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 1506 insertions(+), 0 deletions(-)
 create mode 100644 pc-bios/qemu.rsrc
Makefile.target +2 -0
index e9ff1ee..b355ad3 100644
@@ -178,6 +178,8 @@ all-obj-$(CONFIG_SOFTMMU) += $(block-obj-y)
 # build either PROG or PROGW
 $(QEMU_PROG_BUILD): $(all-obj-y) ../libqemuutil.a ../libqemustub.a
 	$(call LINK,$^)
+	Rez -append ../pc-bios/qemu.rsrc -o $(QEMU_PROG)
+	SetFile -a C $(QEMU_PROG)
 
 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)$@")
pc-bios/qemu.rsrc new file +1504 -0

1,504 lines not on this page · raw message

Signature · 1 line
1.7.5.4