mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-23 02:25:00 +02:00
correct the flash tool path
This commit is contained in:
parent
8979988877
commit
22cb7cda9e
@ -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 $@
|
||||
|
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user