1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 14:14:38 +02:00

correct the flash tool path

This commit is contained in:
xiangfu 2009-04-26 15:34:02 +00:00
parent 8979988877
commit 22cb7cda9e
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@
#
# Makefile for the JZ4740 internal bootrom code.
#
FLASH_TOOL_PATH = ../../flash-tool
CROSS := mipsel-linux-
@ -18,7 +19,7 @@ fw.bin: fw.elf
$(CROSS)objdump -D $< > fw.dump
$(CROSS)objdump -h $< > fw.map
$(CROSS)nm -n $< > System.map
cp fw.bin ../../../../tools
cp fw.bin $(FLASH_TOOL_PATH)
fw.elf: $(OBJS)
$(CROSS)ld $(LDFLAGS) $(OBJS) -o $@

View File

@ -7,7 +7,7 @@
# published by the Free Software Foundation.
#
# -----------------------------
FLASH_TOOL_PATH = ../../flash-tool
CC := mipsel-linux-gcc
AR := mipsel-linux-ar rcsv
@ -53,7 +53,7 @@ all: $(APP)
$(OBJDUMP) -D $(APP) > $(TARGET).dump
$(NM) $(APP) | sort > $(TARGET).sym
$(OBJDUMP) -h $(APP) > $(TARGET).map
cp usb_boot.bin ../../../tools
cp usb_boot.bin $(FLASH_TOOL_PATH)
$(APP): $(HEADO) $(OBJS) $(EXTLIBS)
$(CC) $(LDFLAGS) $^ -o $@