📄 makefile
字号:
## arch/m68knommu/Makefile## This file is subject to the terms and conditions of the GNU General Public# License. See the file "COPYING" in the main directory of this archive# for more details.## (C) Copyright 2002, Greg Ungerer <gerg@snapgear.com>#platform-$(CONFIG_M68328) := 68328platform-$(CONFIG_M68EZ328) := 68EZ328platform-$(CONFIG_M68VZ328) := 68VZ328platform-$(CONFIG_M68360) := 68360platform-$(CONFIG_M5206) := 5206platform-$(CONFIG_M5206e) := 5206eplatform-$(CONFIG_M520x) := 520xplatform-$(CONFIG_M523x) := 523xplatform-$(CONFIG_M5249) := 5249platform-$(CONFIG_M527x) := 527xplatform-$(CONFIG_M5272) := 5272platform-$(CONFIG_M528x) := 528xplatform-$(CONFIG_M5307) := 5307platform-$(CONFIG_M532x) := 532xplatform-$(CONFIG_M5407) := 5407PLATFORM := $(platform-y)board-$(CONFIG_PILOT) := pilotboard-$(CONFIG_UC5272) := UC5272board-$(CONFIG_UC5282) := UC5282board-$(CONFIG_UCSIMM) := ucsimmboard-$(CONFIG_UCDIMM) := ucdimmboard-$(CONFIG_UCQUICC) := uCquiccboard-$(CONFIG_DRAGEN2) := de2board-$(CONFIG_ARNEWSH) := ARNEWSHboard-$(CONFIG_FREESCALE) := FREESCALEboard-$(CONFIG_M5235EVB) := M5235EVBboard-$(CONFIG_M5271EVB) := M5271EVBboard-$(CONFIG_M5275EVB) := M5275EVBboard-$(CONFIG_M5282EVB) := M5282EVBboard-$(CONFIG_ELITE) := eLITEboard-$(CONFIG_eLIA) := eLIAboard-$(CONFIG_NETtel) := NETtelboard-$(CONFIG_SECUREEDGEMP3) := MP3board-$(CONFIG_CLEOPATRA) := CLEOPATRAboard-$(CONFIG_senTec) := senTecboard-$(CONFIG_SNEHA) := SNEHAboard-$(CONFIG_M5208EVB) := M5208EVBboard-$(CONFIG_MOD5272) := MOD5272board-$(CONFIG_AVNET) := AVNETboard-$(CONFIG_SAVANT) := SAVANTBOARD := $(board-y)model-$(CONFIG_RAMKERNEL) := rammodel-$(CONFIG_ROMKERNEL) := romMODEL := $(model-y)## Some code support is grouped together for a common cpu-subclass (for# example all ColdFire cpu's are very similar). Determine the sub-class# for the selected cpu. ONLY need to define this for the non-base member# of the family.#cpuclass-$(CONFIG_M5206) := 5307cpuclass-$(CONFIG_M5206e) := 5307cpuclass-$(CONFIG_M520x) := 5307cpuclass-$(CONFIG_M523x) := 5307cpuclass-$(CONFIG_M5249) := 5307cpuclass-$(CONFIG_M527x) := 5307cpuclass-$(CONFIG_M5272) := 5307cpuclass-$(CONFIG_M528x) := 5307cpuclass-$(CONFIG_M5307) := 5307cpuclass-$(CONFIG_M532x) := 5307cpuclass-$(CONFIG_M5407) := 5307cpuclass-$(CONFIG_M68328) := 68328cpuclass-$(CONFIG_M68EZ328) := 68328cpuclass-$(CONFIG_M68VZ328) := 68328cpuclass-$(CONFIG_M68360) := 68360CPUCLASS := $(cpuclass-y)ifneq ($(CPUCLASS),$(PLATFORM))CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/endifexport PLATFORM BOARD MODEL CPUCLASS## Some CFLAG additions based on specific CPU type.#cflags-$(CONFIG_M5206) := -m5200cflags-$(CONFIG_M5206e) := -m5200cflags-$(CONFIG_M520x) := -m5307cflags-$(CONFIG_M523x) := -m5307cflags-$(CONFIG_M5249) := -m5200cflags-$(CONFIG_M527x) := -m5307cflags-$(CONFIG_M5272) := -m5307cflags-$(CONFIG_M528x) := -m5307cflags-$(CONFIG_M5307) := -m5307cflags-$(CONFIG_M532x) := -m5307cflags-$(CONFIG_M5407) := -m5200cflags-$(CONFIG_M68328) := -m68000cflags-$(CONFIG_M68EZ328) := -m68000cflags-$(CONFIG_M68VZ328) := -m68000cflags-$(CONFIG_M68360) := -m68332KBUILD_AFLAGS += $(cflags-y)KBUILD_CFLAGS += $(cflags-y)KBUILD_CFLAGS += -D__linux__KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"head-y := arch/m68knommu/platform/$(cpuclass-y)/head.ocore-y += arch/m68knommu/kernel/ \ arch/m68knommu/mm/ \ $(CLASSDIR) \ arch/m68knommu/platform/$(PLATFORM)/libs-y += arch/m68knommu/lib/archclean:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -