diff options
-rw-r--r-- | rbutil/mkmpioboot/Makefile | 6 |
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 | |||
28 | 28 | ||
29 | ifdef RBARCH | 29 | ifdef RBARCH |
30 | CFLAGS += -arch $(RBARCH) | 30 | CFLAGS += -arch $(RBARCH) |
31 | OBJDIR = $(RBARCH)/ | 31 | OBJDIR = $(TARGET_DIR)build/$(RBARCH)/ |
32 | else | ||
33 | OBJDIR = $(TARGET_DIR)build/ | ||
32 | endif | 34 | endif |
33 | 35 | ||
34 | 36 | ||
@@ -74,7 +76,7 @@ libmkmpioboot-universal: $(TARGET_DIR)libmkmpiobooti386.a $(TARGET_DIR)libmkmpio | |||
74 | $(SILENT)lipo -create $(TARGET_DIR)libmkmpiobootppc.a $(TARGET_DIR)libmkmpiobooti386.a -output $(TARGET_DIR)libmkmpioboot.a | 76 | $(SILENT)lipo -create $(TARGET_DIR)libmkmpiobootppc.a $(TARGET_DIR)libmkmpiobooti386.a -output $(TARGET_DIR)libmkmpioboot.a |
75 | 77 | ||
76 | clean: | 78 | clean: |
77 | rm -f $(OBJS) $(OUTPUT) libmkmpioboot.o $(TARGET_DIR)libmkmpioboot*.a mkmpioboot.dmg | 79 | rm -f $(OBJS) $(OUTPUT) $(TARGET_DIR)libmkmpioboot*.a mkmpioboot.dmg |
78 | rm -rf mkmpioboot-* i386 ppc $(OBJDIR) | 80 | rm -rf mkmpioboot-* i386 ppc $(OBJDIR) |
79 | 81 | ||
80 | mkmpioboot-i386: | 82 | mkmpioboot-i386: |