From cca6f747f807105fd7a8e4834ebd73a5a996d8d2 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 28 Nov 2009 22:39:00 +0000 Subject: 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 --- rbutil/mkamsboot/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rbutil/mkamsboot/Makefile') diff --git a/rbutil/mkamsboot/Makefile b/rbutil/mkamsboot/Makefile index d3517d1579..37163600fc 100644 --- a/rbutil/mkamsboot/Makefile +++ b/rbutil/mkamsboot/Makefile @@ -68,14 +68,14 @@ $(OUTPUT): $(OBJS) $(EXTRADEPS) # some trickery to build ppc and i386 from a single call ifeq ($(RBARCH),) -libmkamsbooti386.a: +$(TARGET_DIR)libmkamsbooti386.a: make RBARCH=i386 TARGET_DIR=$(TARGET_DIR) libmkamsbooti386.a -libmkamsbootppc.a: +$(TARGET_DIR)libmkamsbootppc.a: make RBARCH=ppc TARGET_DIR=$(TARGET_DIR) libmkamsbootppc.a endif -libmkamsboot-universal: libmkamsbooti386.a libmkamsbootppc.a +libmkamsboot-universal: $(TARGET_DIR)libmkamsbooti386.a $(TARGET_DIR)libmkamsbootppc.a @echo lipo $(TARGET_DIR)libmkamsboot.a $(SILENT) rm -f $(TARGET_DIR)libmkamsboot.a lipo -create $(TARGET_DIR)libmkamsbootppc.a $(TARGET_DIR)libmkamsbooti386.a -output $(TARGET_DIR)libmkamsboot.a -- cgit v1.2.3