mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 16:25:20 +02:00
[flash-tool] fix Makefile format
This commit is contained in:
parent
36bb0d4bef
commit
308372ddc7
2
Makefile
2
Makefile
@ -156,7 +156,7 @@ kernel:
|
|||||||
|
|
||||||
### flash-boot
|
### flash-boot
|
||||||
.PHONY: flash-tool
|
.PHONY: flash-tool
|
||||||
flash-tool: #stage1 stage2
|
flash-tool: stage1 stage2
|
||||||
mkdir -p $(FLASH_TOOL_BIN_PATH)
|
mkdir -p $(FLASH_TOOL_BIN_PATH)
|
||||||
cp $(FLASH_TOOL_PATH)/usb_boot.cfg $(FLASH_TOOL_BIN_PATH)
|
cp $(FLASH_TOOL_PATH)/usb_boot.cfg $(FLASH_TOOL_BIN_PATH)
|
||||||
cd $(FLASH_TOOL_PATH) && \
|
cd $(FLASH_TOOL_PATH) && \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
#
|
|
||||||
# Copyright (C) 2006 Ingenic Semiconductor Inc.
|
# Copyright (C) 2006 Ingenic Semiconductor Inc.
|
||||||
# By Lucifer
|
# By Lucifer
|
||||||
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License version 2 as
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
# published by the Free Software Foundation.
|
# published by the Free Software Foundation.
|
||||||
@ -10,7 +10,6 @@
|
|||||||
FLASH_TOOL_BIN_PATH = ../bin
|
FLASH_TOOL_BIN_PATH = ../bin
|
||||||
FLASH_TOOL_SRC_PATH = ../src
|
FLASH_TOOL_SRC_PATH = ../src
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(CROSS_COMPILE),)
|
ifeq ($(CROSS_COMPILE),)
|
||||||
$(error CROSS_COMPILE variable not set)
|
$(error CROSS_COMPILE variable not set)
|
||||||
endif
|
endif
|
||||||
@ -67,7 +66,7 @@ all: $(APP)
|
|||||||
$(NM) $(APP) | sort > $(TARGET).sym
|
$(NM) $(APP) | sort > $(TARGET).sym
|
||||||
$(OBJDUMP) -h $(APP) > $(TARGET).map
|
$(OBJDUMP) -h $(APP) > $(TARGET).map
|
||||||
mkdir -p $(FLASH_TOOL_BIN_PATH)
|
mkdir -p $(FLASH_TOOL_BIN_PATH)
|
||||||
cp usb_boot.bin $(FLASH_TOOL_PATH)
|
cp $(TARGET).bin $(FLASH_TOOL_BIN_PATH)
|
||||||
|
|
||||||
$(APP): $(HEADO) $(OBJS) $(EXTLIBS)
|
$(APP): $(HEADO) $(OBJS) $(EXTLIBS)
|
||||||
$(CC) $(LDFLAGS) $^ -o $@
|
$(CC) $(LDFLAGS) $^ -o $@
|
||||||
@ -81,4 +80,3 @@ $(APP): $(HEADO) $(OBJS) $(EXTLIBS)
|
|||||||
|
|
||||||
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