On Feb 21, 2015, at 7:14 AM, Peter Maydell wrote: > On 20 February 2015 at 05:51, Programmingkid <programmingk...@gmail.com> > wrote: >> This patch sets the icon for the QEMU binary on Mac OS X. >> >> Signed-off-by: John Arbuckle <programmingk...@gmail.com> >> >> --- >> Added conditional code to make the icon setting happen only on Mac OS X. >> >> Makefile.target | 4 + >> pc-bios/qemu.rsrc | 1504 >> +++++++++++++++++++++++++++++++++++++++++++++++++++++ >> 2 files changed, 1508 insertions(+), 0 deletions(-) >> create mode 100644 pc-bios/qemu.rsrc > > I'm afraid this doesn't build for me: > LINK aarch64-softmmu/qemu-system-aarch64 > Rez -append ../pc-bios/qemu.rsrc -o qemu-system-aarch64 > ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - SysError > 0 during open of "../pc-bios/qemu.rsrc". > Fatal Error! > ### /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Fatal > Error, can't recover. > ../pc-bios/qemu.rsrc: ### > /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - Since errors > occurred, qemu-system-aarch64's resource fork was not completely > updated. > ../pc-bios/qemu.rsrc: ### > /Applications/Xcode.app/Contents/Developer/usr/bin/Rez - SysError -43 > during set file info. > make[1]: *** [qemu-system-aarch64] Error 3 > make[1]: *** Deleting file `qemu-system-aarch64' > make: *** [subdir-aarch64-softmmu] Error 2 > > I think it's failing to cope with building in a separate > build tree -- pc-bios/qemu.rsrc is only in the source tree, > not the build tree.
Good job catching this error. I'm hoping using $(SRC_PATH) will fix this problem.