1
0
Fork 0
forked from len0rd/rockbox

Move bin2c handling to libtools.make

Change-Id: I60353bb9f9fd2658d66ba7f352e04f7489c7bf5d
This commit is contained in:
Dominik Riebeling 2012-04-28 12:05:50 +02:00
parent b4424ca2f3
commit 308f099874
2 changed files with 10 additions and 7 deletions

View file

@ -41,13 +41,11 @@ $(OBJDIR)main.o: $(BOOTSRC)
$(OBJDIR)sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest
$(WINDRES) -i sansapatcher.rc -o sansapatcher-rc.o
bootimg_c200.c: firmware.mi4 ../tools/bin2c
bootimg_c200.c: firmware.mi4 $(BIN2C)
@echo BIN2C $<
$(SILENT)../tools/bin2c firmware.mi4 bootimg_c200
$(SILENT)$(BIN2C) $< $*
bootimg_e200.c: PP5022.mi4 ../tools/bin2c
@echo BIN2C $<
$(SILENT)../tools/bin2c PP5022.mi4 bootimg_e200
bootimg_e200.c: PP5022.mi4 $(BIN2C)
@echo BIN2C $< $*
$(SILENT)$(BIN2C) $< $*
../tools/bin2c:
$(SILENT)make -C ../tools bin2c