summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbutil/mkamsboot/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/rbutil/mkamsboot/Makefile b/rbutil/mkamsboot/Makefile
index 8a9a4d3852..0a9ab3b4e7 100644
--- a/rbutil/mkamsboot/Makefile
+++ b/rbutil/mkamsboot/Makefile
@@ -28,7 +28,9 @@ endif
28 28
29ifdef RBARCH 29ifdef RBARCH
30CFLAGS += -arch $(RBARCH) 30CFLAGS += -arch $(RBARCH)
31OBJDIR = $(RBARCH)/ 31OBJDIR = $(TARGET_DIR)build/$(RBARCH)/
32else
33OBJDIR = $(TARGET_DIR)build/
32endif 34endif
33 35
34 36
@@ -52,7 +54,7 @@ $(OBJDIR)mkamsboot.o: dualboot.h dualboot.c mkamsboot.c mkamsboot.h
52$(OBJDIR)main.o: dualboot.h dualboot.c main.c mkamsboot.h 54$(OBJDIR)main.o: dualboot.h dualboot.c main.c mkamsboot.h
53 55
54$(OBJDIR)%.o: %.c 56$(OBJDIR)%.o: %.c
55 @echo CC $< $ 57 @echo CC $<
56 $(SILENT)mkdir -p $(dir $@) 58 $(SILENT)mkdir -p $(dir $@)
57 $(SILENT)$(CC) $(CFLAGS) -c -o $@ $< 59 $(SILENT)$(CC) $(CFLAGS) -c -o $@ $<
58 60