c977fad4fd
Without running fixtrx the image will not boot at the second time, because the CRC the boot loader check is invalid at that time. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42639
20 lines
352 B
Makefile
20 lines
352 B
Makefile
CC = gcc
|
|
CFLAGS += -Wall
|
|
LDFLAGS += -lubox
|
|
|
|
obj = mtd.o jffs2.o crc32.o md5.o
|
|
obj.seama = seama.o md5.o
|
|
obj.ar71xx = trx.o $(obj.seama)
|
|
obj.brcm = trx.o
|
|
obj.brcm47xx = $(obj.brcm)
|
|
obj.bcm53xx = $(obj.brcm)
|
|
obj.brcm63xx = imagetag.o
|
|
obj.ramips = $(obj.seama)
|
|
|
|
ifdef FIS_SUPPORT
|
|
obj += fis.o
|
|
endif
|
|
|
|
mtd: $(obj) $(obj.$(TARGET))
|
|
clean:
|
|
rm -f *.o jffs2
|