mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 02:10:16 +02:00
qi-update-makefile.patch
Update target "clean" to clean build directorys Update IDs for mkudfu Signed-off-by: Micael Henriksson <micael.h@gmail.com>
This commit is contained in:
parent
938a79d90d
commit
aeb2133dc8
@ -44,10 +44,17 @@ SRCS = ${S_SRCS} ${C_SRCS}
|
|||||||
OBJS = ${S_OBJS} ${C_OBJS}
|
OBJS = ${S_OBJS} ${C_OBJS}
|
||||||
LIBS = -L${COMPILER_LIB_PATH} -lgcc
|
LIBS = -L${COMPILER_LIB_PATH} -lgcc
|
||||||
|
|
||||||
# GTA02 A5 and A6 U-Boot will eat these for DFU action
|
ifeq ($(CPU),s3c2410)
|
||||||
UDFU_VID = 0x1d50
|
# GTA01 U-Boot IDs
|
||||||
UDFU_PID = 0x5119
|
UDFU_VID = 0x1457
|
||||||
UDFU_REV = 0x350
|
UDFU_PID = 0x5119
|
||||||
|
UDFU_REV = 0x0240
|
||||||
|
else
|
||||||
|
# GTA02 A5 and A6 U-Boot will eat these for DFU action
|
||||||
|
UDFU_VID = 0x1d50
|
||||||
|
UDFU_PID = 0x5119
|
||||||
|
UDFU_REV = 0x350
|
||||||
|
endif
|
||||||
|
|
||||||
TARGET = $(IMAGE_DIR)/start_qi_all-$(CPU)
|
TARGET = $(IMAGE_DIR)/start_qi_all-$(CPU)
|
||||||
IMAGE = $(IMAGE_DIR)/qi-$(CPU)-$(BUILD_VERSION)
|
IMAGE = $(IMAGE_DIR)/qi-$(CPU)-$(BUILD_VERSION)
|
||||||
@ -77,6 +84,6 @@ ${UDFU_IMAGE}:${OBJS} ${MKUDFU}
|
|||||||
@$(OBJDUMP) -d ${TARGET} >${IMAGE}.dis
|
@$(OBJDUMP) -d ${TARGET} >${IMAGE}.dis
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f src/*.o cpu/*/*.o cpu/*/*~ src/*~ src/drivers/*.o src/drivers/*~ \
|
@rm -f src/*.o src/*~ src/cpu/*/*.o src/cpu/*/*~ src/drivers/*.o \
|
||||||
include/*~ ${IMAGE_DIR}/* ${TARGET} ${UDFU_IMAGE}
|
src/drivers/*~ src/fs/*.o src/fs/*~ include/*~ ${IMAGE_DIR}/*
|
||||||
@make clean -C $(TOOLS)
|
@make clean -C $(TOOLS)
|
||||||
|
Loading…
Reference in New Issue
Block a user