📄 makefile
字号:
# eCos makefile# This is a generated file - do not editexport REPOSITORY := /home/wy/sitsang/RedBoot_Intel/src/packagesexport PREFIX := /home/wy/sitsang/RedBoot_Intel/release-redboot/installexport COMMAND_PREFIX := xscale-elf-export CC := $(COMMAND_PREFIX)gccexport OBJCOPY := $(COMMAND_PREFIX)objcopyexport AR := $(COMMAND_PREFIX)arPACKAGE := devs/flash/arm/cotulla/sitsang/currentOBJECT_PREFIX := devs_flash_arm_cotulla_sitsangCFLAGS := -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frameLDFLAGS := -Wl,--gc-sections -Wl,-static -g -O2 -nostdlibVPATH := $(REPOSITORY)/$(PACKAGE)INCLUDE_PATH := $(INCLUDE_PATH) -I$(PREFIX)/include $(foreach dir,$(VPATH),-I$(dir) -I$(dir)/src -I$(dir)/tests) -I.MLT := $(wildcard $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.ldi $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.h)TESTS := build: headers libtarget.a.stampLIBRARY := libtarget.aCOMPILE := src/sitsang_flash.cOBJECTS := $(COMPILE:.cxx=.o.d)OBJECTS := $(OBJECTS:.c=.o.d)OBJECTS := $(OBJECTS:.S=.o.d)$(LIBRARY).stamp: $(OBJECTS) $(AR) rcs $(PREFIX)/lib/$(@:.stamp=) $(foreach obj,$?,$(dir $(obj))$(OBJECT_PREFIX)_$(notdir $(obj:.o.d=.o))) @cat $^ > $(@:.stamp=.deps) @touch $@flash_erase_block.o: $(wildcard $(REPOSITORY)/$(PACKAGE)/src/flash_erase_block.c) $(CC) -S $(INCLUDE_PATH) $(CFLAGS) -g0 -fno-function-sections $(REPOSITORY)/$(PACKAGE)/src/flash_erase_block.c echo " .globl flash_erase_block_end" >>flash_erase_block.s echo "flash_erase_block_end:" >>flash_erase_block.s $(CC) -c -o flash_erase_block.o flash_erase_block.s $(AR) rcs $(PREFIX)/lib/libtarget.a flash_erase_block.o flash_program_buf.o: $(wildcard $(REPOSITORY)/$(PACKAGE)/src/flash_program_buf.c) $(CC) -S $(INCLUDE_PATH) $(CFLAGS) -g0 -fno-function-sections $(REPOSITORY)/$(PACKAGE)/src/flash_program_buf.c echo " .globl flash_program_buf_end" >>flash_program_buf.s echo "flash_program_buf_end:" >>flash_program_buf.s $(CC) -c -o flash_program_buf.o flash_program_buf.s $(AR) rcs $(PREFIX)/lib/libtarget.a flash_program_buf.o flash_query.o: $(wildcard $(REPOSITORY)/$(PACKAGE)/src/flash_query.c) $(CC) -S $(INCLUDE_PATH) $(CFLAGS) -g0 -fno-function-sections $(REPOSITORY)/$(PACKAGE)/src/flash_query.c echo " .globl flash_query_end" >>flash_query.s echo "flash_query_end:" >>flash_query.s $(CC) -c -o flash_query.o flash_query.s $(AR) rcs $(PREFIX)/lib/libtarget.a flash_query.o flash_lock_block.o: $(wildcard $(REPOSITORY)/$(PACKAGE)/src/flash_lock_block.c) $(CC) -S $(INCLUDE_PATH) $(CFLAGS) -g0 -fno-function-sections $(REPOSITORY)/$(PACKAGE)/src/flash_lock_block.c echo " .globl flash_lock_block_end" >>flash_lock_block.s echo "flash_lock_block_end:" >>flash_lock_block.s $(CC) -c -o flash_lock_block.o flash_lock_block.s $(AR) rcs $(PREFIX)/lib/libtarget.a flash_lock_block.o flash_unlock_block.o: $(wildcard $(REPOSITORY)/$(PACKAGE)/src/flash_unlock_block.c) $(CC) -S $(INCLUDE_PATH) $(CFLAGS) -g0 -fno-function-sections $(REPOSITORY)/$(PACKAGE)/src/flash_unlock_block.c echo " .globl flash_unlock_block_end" >>flash_unlock_block.s echo "flash_unlock_block_end:" >>flash_unlock_block.s $(CC) -c -o flash_unlock_block.o flash_unlock_block.s $(AR) rcs $(PREFIX)/lib/libtarget.a flash_unlock_block.o headers: mlt_headersinclude $(REPOSITORY)/pkgconf/rules.mak
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -