1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-26 07:52:48 +02:00

updated Makefile

This commit is contained in:
shiyele 2009-06-25 02:33:54 +00:00
parent 7190aec445
commit 3f9f58df2e

View File

@ -28,14 +28,10 @@ LIBS := -lstdc++ -lc -lm -lgcc
USBBOOTDIR := . USBBOOTDIR := .
CFLAGS += -I$(USBBOOTDIR)/usb_boot \ CFLAGS += -I$(USBBOOTDIR)/include -I$(FLASH_TOOL_SRC_PATH)
-I$(USBBOOTDIR)/nandflash -I$(USBBOOTDIR)/include \
-I$(FLASH_TOOL_SRC_PATH)
OBJS := main.o udc.o cache.o serial.o boothandler.o nandflash_4740.o nandflash_4750.o OBJS := main.o udc.o cache.o serial.o boothandler.o nandflash_4740.o nandflash_4750.o
VPATH := $(USBBOOTDIR)/usb_boot $(USBBOOTDIR)/nandflash
all: xburst_stage2.elf all: xburst_stage2.elf
$(OBJCOPY) -O binary xburst_stage2.elf xburst_stage2.bin $(OBJCOPY) -O binary xburst_stage2.elf xburst_stage2.bin
$(OBJDUMP) -D xburst_stage2.elf > xburst_stage2.dump $(OBJDUMP) -D xburst_stage2.elf > xburst_stage2.dump