mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Handle TARGET_DIR in universal library building.
Building universal libraries needs to take TARGET_DIR into account as when set the individual libraries are placed into the build output folder and didn't got found anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23778 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c3ca746de4
commit
cca6f747f8
3 changed files with 9 additions and 9 deletions
|
|
@ -72,14 +72,14 @@ $(OUTPUT): $(OBJS) $(EXTRADEPS)
|
|||
|
||||
# some trickery to build ppc and i386 from a single call
|
||||
ifeq ($(RBARCH),)
|
||||
libmktccbooti386.a:
|
||||
$(TARGET_DIR)libmktccbooti386.a:
|
||||
make RBARCH=i386 TARGET_DIR=$(TARGET_DIR) libmktccbooti386.a
|
||||
|
||||
libmktccbootppc.a:
|
||||
$(TARGET_DIR)libmktccbootppc.a:
|
||||
make RBARCH=ppc TARGET_DIR=$(TARGET_DIR) libmktccbootppc.a
|
||||
endif
|
||||
|
||||
libmktccboot-universal: libmktccbooti386.a libmktccbootppc.a
|
||||
libmktccboot-universal: $(TARGET_DIR)libmktccbooti386.a $(TARGET_DIR)libmktccbootppc.a
|
||||
@echo lipo $(TARGET_DIR)libmktccboot.a
|
||||
$(SILENT) rm -f $(TARGET_DIR)libmktccboot.a
|
||||
lipo -create $(TARGET_DIR)libmktccbootppc.a $(TARGET_DIR)libmktccbooti386.a -output $(TARGET_DIR)libmktccboot.a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue