Remove OS X special universal binary handling.

Since the libs are now build as universal libs there is no need anymore to
create separate binaries for both architectures and run lipo on them, just
build in a single run now. Fixes building universal binaries and dmg for all
tools using libtools.make.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31590 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2012-01-06 09:24:38 +00:00
parent 302937e586
commit ded02d82e7

View file

@ -121,20 +121,8 @@ clean:
rm -rf $(OUTPUT)-* i386 ppc $(OBJDIR)
# OS X specifics
$(OUTPUT)-i386:
$(MAKE) RBARCH=i386
mv $(OUTPUT) $@
$(OUTPUT)-ppc:
$(MAKE) RBARCH=ppc
mv $(OUTPUT) $@
$(OUTPUT)-mac: $(OUTPUT)-i386 $(OUTPUT)-ppc
@echo LIPO $@
$(SILENT)lipo -create $(OUTPUT)-ppc $(OUTPUT)-i386 -output $@
$(OUTPUT).dmg: $(OUTPUT)-mac
$(OUTPUT).dmg: $(OUTPUT)
@echo DMG $@
$(SILENT)mkdir -p $(OUTPUT)-dmg
$(SILENT)cp -p $(OUTPUT)-mac $(OUTPUT)-dmg
$(SILENT)cp -p $(OUTPUT) $(OUTPUT)-dmg
$(SILENT)hdiutil create -srcfolder $(OUTPUT)-dmg $@