makefile
来自「一个很好的嵌入式linux平台下的bootloader」· 代码 · 共 56 行
TXT
56 行
## This is just a Makefile fragment -- it is included by the master# makefile, cfe.mk## This file should just append object file names to "ALLOBJS",# but since it is mean to be linked *first*, it will append# modules to "CRT0OBJS"### Macro Contains# CRT0OBJS Files that must be linked first for CFE# ALLOBJS Other files for CFE# ZCRTO0OBJS Files that must be linked first for ZIPSTART# ZSOBJS ZIPSTART object files### Allow makefile to override init_mips.S. If not overridden, it's# either 'init_mips.S' or 'init_ram.o' for RAMAPP and ZIPSTART versions.#ifndef INIT_MIPS INIT_MIPS = init_mips.o ifeq ($(strip ${CFG_RAMAPP}),1) INIT_MIPS = init_ram.o endif ifeq ($(strip ${CFG_ZIPSTART}),1) INIT_MIPS = init_ram.o endifendifCRT0OBJS += $(INIT_MIPS) apientry.o exception.oZCRT0OBJS += zipstart_init.o zipstart_entry.oALLOBJS += lib_setjmp.o disasm.o mips_arena.o exchandler.oALLOBJS += dev_flash_all.o dev_flashop_engine.oALLOBJS += lib_hssubr.omakereg : ${TOP}/hosttools/makereg.c gcc -o makereg ${TOP}/hosttools/makereg.c%.inc : %.regdef makereg ./makereg $< $@ ${CPU}_regs.h rm -f ./cpu_socregs.inc ln -s $@ ./cpu_socregs.incvapi.o : ${TOP}/verif/vapi.S ${CPU}_socregs.inc
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?