diff options
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/libtools.make | 5 | ||||
-rw-r--r-- | rbutil/sansapatcher/Makefile | 12 |
2 files changed, 10 insertions, 7 deletions
diff --git a/rbutil/libtools.make b/rbutil/libtools.make index cc582ce015..fda9b68132 100644 --- a/rbutil/libtools.make +++ b/rbutil/libtools.make | |||
@@ -123,6 +123,11 @@ clean: | |||
123 | rm -f $(OBJS) $(OUTPUT) $(TARGET_DIR)lib$(OUTPUT)*.a $(OUTPUT).dmg | 123 | rm -f $(OBJS) $(OUTPUT) $(TARGET_DIR)lib$(OUTPUT)*.a $(OUTPUT).dmg |
124 | rm -rf $(OUTPUT)-* i386 ppc $(OBJDIR) | 124 | rm -rf $(OUTPUT)-* i386 ppc $(OBJDIR) |
125 | 125 | ||
126 | # extra tools | ||
127 | BIN2C = $(TOP)/tools/bin2c | ||
128 | $(BIN2C): | ||
129 | $(MAKE) -C $(TOP)/tools | ||
130 | |||
126 | # OS X specifics | 131 | # OS X specifics |
127 | $(OUTPUT).dmg: $(OUTPUT) | 132 | $(OUTPUT).dmg: $(OUTPUT) |
128 | @echo DMG $@ | 133 | @echo DMG $@ |
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index b3bf51ee2a..88b3b65345 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile | |||
@@ -41,13 +41,11 @@ $(OBJDIR)main.o: $(BOOTSRC) | |||
41 | $(OBJDIR)sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest | 41 | $(OBJDIR)sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest |
42 | $(WINDRES) -i sansapatcher.rc -o sansapatcher-rc.o | 42 | $(WINDRES) -i sansapatcher.rc -o sansapatcher-rc.o |
43 | 43 | ||
44 | bootimg_c200.c: firmware.mi4 ../tools/bin2c | 44 | bootimg_c200.c: firmware.mi4 $(BIN2C) |
45 | @echo BIN2C $< | 45 | @echo BIN2C $< |
46 | $(SILENT)../tools/bin2c firmware.mi4 bootimg_c200 | 46 | $(SILENT)$(BIN2C) $< $* |
47 | 47 | ||
48 | bootimg_e200.c: PP5022.mi4 ../tools/bin2c | 48 | bootimg_e200.c: PP5022.mi4 $(BIN2C) |
49 | @echo BIN2C $< | 49 | @echo BIN2C $< $* |
50 | $(SILENT)../tools/bin2c PP5022.mi4 bootimg_e200 | 50 | $(SILENT)$(BIN2C) $< $* |
51 | 51 | ||
52 | ../tools/bin2c: | ||
53 | $(SILENT)make -C ../tools bin2c | ||