📄 makefile
字号:
## Makefile for the linux kernel.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).### re-use any 5307/coldfire files that we can. Perhaps we should create# a coldfire directory for shared files ?#VPATH := $(VPATH):../5307ifdef CONFIG_FULLDEBUG AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1endif### If you want to play with the HW breakpoints then you will# need to add define this, which will give you a stack backtrace# on the console port whenever a DBG interrupt occurs. You have to# set up you HW breakpoints to trigger a DBG interrupt:## AFLAGS += -DTRAP_DBG_INTERRUPT# EXTRA_CFLAGS += -DTRAP_DBG_INTERRUPT#.S.o: $(CC) -D__ASSEMBLY__ $(AFLAGS) -I. -c $< -o $*.oall: $(BOARD)/crt0_$(MODEL).o entry.o platform.oO_TARGET := platform.oobj-y := entry.o config.o signal.o ints.o$(BOARD)/crt0_$(MODEL).o: $(BOARD)/crt0_$(MODEL).Sentry.o: entry.S m68k_defs.hm68k_defs.h: ../../kernel/m68k_defs.c ../../kernel/m68k_defs.head rm -f m68k_defs.d $(CC) $(filter-out -MD,$(CFLAGS)) -S ../../kernel/m68k_defs.c cp ../../kernel/m68k_defs.head m68k_defs.h grep '^#define' m68k_defs.s >> m68k_defs.h rm m68k_defs.s-include m68k_defs.dinclude $(TOPDIR)/Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -