1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-23 17:38:37 +02:00

[flash-tool] fix Makefile format, delete space at the end of line

This commit is contained in:
xiangfu 2009-06-10 01:07:31 +00:00
parent 308372ddc7
commit 6fda698e00

View File

@ -39,16 +39,16 @@ LIBDIR :=
SOURCES := ./usb_boot/main.c \
./usb_boot/udc.c \
./usb_boot/cache.c \
./usb_boot/serial.c \
./usb_boot/cache.c \
./usb_boot/serial.c \
./usb_boot/boothandler.c
SOURCES += $(wildcard $(USBBOOTDIR)/nandflash/*.c)
SOURCES += $(wildcard $(USBBOOTDIR)/usb_boot/*.S)
HEADS := $(SOCDIR)/head.S
CFLAGS += -I$(SOCDIR)/include -I$(USBBOOTDIR)/usb_boot \
-I$(USBBOOTDIR)/nandflash -I$(USBBOOTDIR)/include \
CFLAGS += -I$(SOCDIR)/include -I$(USBBOOTDIR)/usb_boot \
-I$(USBBOOTDIR)/nandflash -I$(USBBOOTDIR)/include \
-I$(FLASH_TOOL_SRC_PATH)
OBJS := $(addsuffix .o , $(basename $(notdir $(SOURCES))))
@ -57,7 +57,7 @@ HEADO := $(addsuffix .o , $(basename $(notdir $(HEADS))))
TARGET := usb_boot
APP := $(TARGET).elf
VPATH := $(ARCHDIR) $(SOCDIR) $(OSDIR) $(USBBOOTDIR)/usb_boot \
VPATH := $(ARCHDIR) $(SOCDIR) $(OSDIR) $(USBBOOTDIR)/usb_boot \
$(USBBOOTDIR)/norflash $(USBBOOTDIR)/nandflash
all: $(APP)
@ -79,4 +79,4 @@ $(APP): $(HEADO) $(OBJS) $(EXTLIBS)
$(CC) $(CFLAGS) -o $@ -c $<
clean:
rm -fr *.o $(APP) $(OBJS) core $(OTHER) *.sym *.map *.dump *.bin *.lib *.~ *.\#
rm -fr *.o $(APP) $(OBJS) core $(OTHER) *.sym *.map *.dump *.bin *.lib *~ *.\#