📄 makefile
字号:
## Makefile for the linux arm-specific parts of the memory manager.## 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).## Note 2! The CFLAGS definition is now in the main makefile...USE_STANDARD_AS_RULE := trueEXTRA_AFLAGS := -traditionalO_TARGET := mm.o# Object file lists.obj-y := extable.o fault-$(PROCESSOR).o init.o \ mm-$(PROCESSOR).o small_page.oobj-m :=obj-n :=obj- :=export-objs := proc-syms.op-$(CONFIG_CPU_26) += proc-arm2,3.op-$(CONFIG_CPU_ARM6) += proc-arm6,7.op-$(CONFIG_CPU_ARM7) += proc-arm6,7.op-$(CONFIG_CPU_ARM720) += proc-arm720.op-$(CONFIG_CPU_ARM920) += proc-arm920.op-$(CONFIG_CPU_ARM10) += proc-arm10.op-$(CONFIG_CPU_SA110) += proc-sa110.op-$(CONFIG_CPU_SA1100) += proc-sa110.oobj-$(CONFIG_CPU_32) += consistent.o ioremap.oifeq ($(CONFIG_CPU_32),y)obj-$(CONFIG_MODULES) += proc-syms.oendif# Integrator follows "new style"# Soon, others will do too, and we can get rid of thisMMMACH := mm-$(MACHINE).oifeq ($(MMMACH),$(wildcard $(MMMACH)))obj-$(CONFIG_CPU_32) += $(MMMACH)endifobj-y += $(sort $(p-y))# Files that are both resident and modular; remove from modular.obj-m := $(filter-out $(obj-y), $(obj-m))# Translate to Rules.make lists.O_OBJS := $(filter-out $(export-objs), $(obj-y))OX_OBJS := $(filter $(export-objs), $(obj-y))M_OBJS := $(sort $(filter-out $(export-objs), $(obj-m)))MX_OBJS := $(sort $(filter $(export-objs), $(obj-m)))include $(TOPDIR)/Rules.make# Special dependenciesfault-armv.o: fault-common.cfault-armo.o: fault-common.cproc-arm2,3.o: ../lib/constants.hproc-arm6,7.o: ../lib/constants.hproc-arm720.o: ../lib/constants.hproc-arm920.o: ../lib/constants.hproc-arm10.o: ../lib/constants.hproc-sa110.o: ../lib/constants.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -