📄 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 := hal/arm/cotulla/sitsang/currentOBJECT_PREFIX := hal_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/hal_diag.c src/sitsang_misc.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 $@$(PREFIX)/bin/redboot.bin: $(wildcard $(PREFIX)/bin/redboot.elf) $(OBJCOPY) --strip-debug $< $(@:.bin=.img) $(OBJCOPY) -O srec $< $(@:.bin=.srec) $(OBJCOPY) -O binary $< $@ headers: mlt_headers $(PREFIX)/include/cyg/hal/cotulla_def.h $(PREFIX)/include/cyg/hal/hal_cache.h $(PREFIX)/include/cyg/hal/hal_diag.h $(PREFIX)/include/cyg/hal/hal_platform_ints.h $(PREFIX)/include/cyg/hal/hal_platform_setup.h $(PREFIX)/include/cyg/hal/hal_sitsang.h $(PREFIX)/include/cyg/hal/plf_io.h $(PREFIX)/include/cyg/hal/plf_stub.h $(PREFIX)/include/cyg/hal/sitsang_cotulla.def.s $(PREFIX)/include/cyg/hal/hal_platform_setup.h.bak $(PREFIX)/include/cyg/hal/hal_platform_setup_wmt.h $(PREFIX)/include/cyg/hal/hal_platform_setup_wit $(PREFIX)/include/cyg/hal/hal_platform_setup_test.h $(PREFIX)/include/cyg/hal/hal_platform_setup_wit.h $(PREFIX)/include/cyg/hal/hal_platform_setup.h.5$(PREFIX)/include/cyg/hal/cotulla_def.h: $(REPOSITORY)/$(PACKAGE)/include/cotulla_def.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_cache.h: $(REPOSITORY)/$(PACKAGE)/include/hal_cache.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_diag.h: $(REPOSITORY)/$(PACKAGE)/include/hal_diag.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_platform_ints.h: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_ints.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_platform_setup.h: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_sitsang.h: $(REPOSITORY)/$(PACKAGE)/include/hal_sitsang.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/plf_io.h: $(REPOSITORY)/$(PACKAGE)/include/plf_io.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/plf_stub.h: $(REPOSITORY)/$(PACKAGE)/include/plf_stub.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/sitsang_cotulla.def.s: $(REPOSITORY)/$(PACKAGE)/include/sitsang_cotulla.def.s @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_platform_setup.h.bak: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.h.bak @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_platform_setup_wmt.h: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup_wmt.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_platform_setup_wit: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup_wit @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_platform_setup_test.h: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup_test.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_platform_setup_wit.h: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup_wit.h @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@$(PREFIX)/include/cyg/hal/hal_platform_setup.h.5: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.h.5 @mkdir -p $(dir $@) @cp $< $@ @chmod u+w $@include $(REPOSITORY)/pkgconf/rules.mak
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -