makefile
来自「osapi 2.0 操作系统抽象层 "系统抽象层"使得你可以实现一种对于RTO」· 代码 · 共 38 行
TXT
38 行
#### Filename: makefile##############################################################################include ../../../../../prolog.makinclude $(MAKEINC)/config.makAPP_OBJS= \$(BUILDBASE)/common/$(APPLICATION)/$(APPLICATION)all.oOSAL_OBJS = \$(BUILDBASE)/os/$(OS)/osal.o BSP_OBJS = \ ../bsp/bsp.o \ ../../hal/oshal.o ################################################################################ Links the final output binary. Note we ignore object dependencies,## linking regardless. This saves fooling around identifying## component object files- the link phase is fast anyway. The object## module dependencies work like they should.makeexecimage: $(RTEMSLINK) -o example-rtems.bin -Wl,-Map -Wl,example-rtems.map $(APP_OBJS) $(OSAL_OBJS) $(BSP_OBJS) $(LIBS) $(OBJCOPY) -S -g -R .bss -R .sbss -R .stack_heap -O srec example-rtems.bin example-rtems.s3r $(NM) -g -n example-rtems.bin > example-rtems.num $(SIZE) example-rtems.bin > example-rtems.size $(OBJDUMP) --syms example-rtems.bin | sort > example-rtems.symbolsclean: rm -f example-rtems.bin rm -f example-rtems.s3r rm -f example-rtems.size rm -f example-rtems.map rm -f example-rtems.symbols rm -f example-rtems.num
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?