mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 14:37:30 +02:00
[flash-tool] fix Makefile format, delete space at the end of line
This commit is contained in:
parent
308372ddc7
commit
6fda698e00
@ -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 *~ *.\#
|
||||
|
Loading…
Reference in New Issue
Block a user