mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-12-23 20:51:10 +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 \
|
SOURCES := ./usb_boot/main.c \
|
||||||
./usb_boot/udc.c \
|
./usb_boot/udc.c \
|
||||||
./usb_boot/cache.c \
|
./usb_boot/cache.c \
|
||||||
./usb_boot/serial.c \
|
./usb_boot/serial.c \
|
||||||
./usb_boot/boothandler.c
|
./usb_boot/boothandler.c
|
||||||
SOURCES += $(wildcard $(USBBOOTDIR)/nandflash/*.c)
|
SOURCES += $(wildcard $(USBBOOTDIR)/nandflash/*.c)
|
||||||
SOURCES += $(wildcard $(USBBOOTDIR)/usb_boot/*.S)
|
SOURCES += $(wildcard $(USBBOOTDIR)/usb_boot/*.S)
|
||||||
|
|
||||||
HEADS := $(SOCDIR)/head.S
|
HEADS := $(SOCDIR)/head.S
|
||||||
|
|
||||||
CFLAGS += -I$(SOCDIR)/include -I$(USBBOOTDIR)/usb_boot \
|
CFLAGS += -I$(SOCDIR)/include -I$(USBBOOTDIR)/usb_boot \
|
||||||
-I$(USBBOOTDIR)/nandflash -I$(USBBOOTDIR)/include \
|
-I$(USBBOOTDIR)/nandflash -I$(USBBOOTDIR)/include \
|
||||||
-I$(FLASH_TOOL_SRC_PATH)
|
-I$(FLASH_TOOL_SRC_PATH)
|
||||||
|
|
||||||
OBJS := $(addsuffix .o , $(basename $(notdir $(SOURCES))))
|
OBJS := $(addsuffix .o , $(basename $(notdir $(SOURCES))))
|
||||||
@ -57,7 +57,7 @@ HEADO := $(addsuffix .o , $(basename $(notdir $(HEADS))))
|
|||||||
TARGET := usb_boot
|
TARGET := usb_boot
|
||||||
APP := $(TARGET).elf
|
APP := $(TARGET).elf
|
||||||
|
|
||||||
VPATH := $(ARCHDIR) $(SOCDIR) $(OSDIR) $(USBBOOTDIR)/usb_boot \
|
VPATH := $(ARCHDIR) $(SOCDIR) $(OSDIR) $(USBBOOTDIR)/usb_boot \
|
||||||
$(USBBOOTDIR)/norflash $(USBBOOTDIR)/nandflash
|
$(USBBOOTDIR)/norflash $(USBBOOTDIR)/nandflash
|
||||||
|
|
||||||
all: $(APP)
|
all: $(APP)
|
||||||
@ -79,4 +79,4 @@ $(APP): $(HEADO) $(OBJS) $(EXTLIBS)
|
|||||||
$(CC) $(CFLAGS) -o $@ -c $<
|
$(CC) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
clean:
|
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