summaryrefslogtreecommitdiffstats
path: root/rbutil/mkmpioboot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/mkmpioboot/Makefile')
-rw-r--r--rbutil/mkmpioboot/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/rbutil/mkmpioboot/Makefile b/rbutil/mkmpioboot/Makefile
index 322c78fc3e..7ba7c41a1f 100644
--- a/rbutil/mkmpioboot/Makefile
+++ b/rbutil/mkmpioboot/Makefile
@@ -28,7 +28,9 @@ endif
ifdef RBARCH
CFLAGS += -arch $(RBARCH)
-OBJDIR = $(RBARCH)/
+OBJDIR = $(TARGET_DIR)build/$(RBARCH)/
+else
+OBJDIR = $(TARGET_DIR)build/
endif
@@ -74,7 +76,7 @@ libmkmpioboot-universal: $(TARGET_DIR)libmkmpiobooti386.a $(TARGET_DIR)libmkmpio
$(SILENT)lipo -create $(TARGET_DIR)libmkmpiobootppc.a $(TARGET_DIR)libmkmpiobooti386.a -output $(TARGET_DIR)libmkmpioboot.a
clean:
- rm -f $(OBJS) $(OUTPUT) libmkmpioboot.o $(TARGET_DIR)libmkmpioboot*.a mkmpioboot.dmg
+ rm -f $(OBJS) $(OUTPUT) $(TARGET_DIR)libmkmpioboot*.a mkmpioboot.dmg
rm -rf mkmpioboot-* i386 ppc $(OBJDIR)
mkmpioboot-i386: