mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-18 09:32:40 -05:00
mkamsboot: fix building as universal library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31325 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b056e027fc
commit
98becd2076
1 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ ifndef APPVERSION
|
||||||
APPVERSION=$(shell $(TOP)/../tools/version.sh ../)
|
APPVERSION=$(shell $(TOP)/../tools/version.sh ../)
|
||||||
endif
|
endif
|
||||||
CFLAGS += -DVERSION=\"$(APPVERSION)\"
|
CFLAGS += -DVERSION=\"$(APPVERSION)\"
|
||||||
TARGET_DIR ?= $(shell pwd)/
|
TARGET_DIR = $(shell pwd)/
|
||||||
|
|
||||||
BINARY = $(OUTPUT)
|
BINARY = $(OUTPUT)
|
||||||
# when building a Windows binary add the correct file suffix
|
# when building a Windows binary add the correct file suffix
|
||||||
|
|
@ -113,8 +113,8 @@ endif
|
||||||
|
|
||||||
lib$(OUTPUT)-universal: $(TARGET_DIR)lib$(OUTPUT)i386.a \
|
lib$(OUTPUT)-universal: $(TARGET_DIR)lib$(OUTPUT)i386.a \
|
||||||
$(TARGET_DIR)lib$(OUTPUT)ppc.a
|
$(TARGET_DIR)lib$(OUTPUT)ppc.a
|
||||||
@echo lipo $(TARGET_DIR)libmkamsboot.a
|
@echo LIPO $(notdir $(TARGET_DIR)lib$(OUTPUT).a)
|
||||||
$(SILENT) rm -f $(TARGET_DIR)libmkamsboot.a
|
$(SILENT) rm -f $(TARGET_DIR)lib$(OUTPUT).a
|
||||||
$(SILENT)lipo -create $(TARGET_DIR)lib$(OUTPUT)i386.a \
|
$(SILENT)lipo -create $(TARGET_DIR)lib$(OUTPUT)i386.a \
|
||||||
$(TARGET_DIR)lib$(OUTPUT)ppc.a \
|
$(TARGET_DIR)lib$(OUTPUT)ppc.a \
|
||||||
-output $(TARGET_DIR)lib$(OUTPUT).a
|
-output $(TARGET_DIR)lib$(OUTPUT).a
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue