⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.m68k

📁 Linux Device Drivers 2nd 经典书籍的配套源码
💻 M68K
字号:
# This material is inherited from the Linux Makefile: arch/m68k/Makefile:# m68k/Makefile## This file is included by the global makefile so that you can add your own# architecture-specific flags and dependencies. Remember to do have actions# for "archclean" and "archdep" for cleaning up and making dependencies for# this architecture## 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.## Copyright (C) 1994 by Hamish Macdonald## test for cross compilingCOMPILE_ARCH = $(shell uname -m)# override top level makefileAS += -m68020LD += -m m68kelfifndef CONFIG_SUN3LINKFLAGS = -T $(TOPDIR)/arch/m68k/vmlinux.ldselseLINKFLAGS = -T $(TOPDIR)/arch/m68k/vmlinux-sun3.lds -Nendif# without -fno-strength-reduce the 53c7xx.c driver fails ;-(CFLAGS += -pipe -fno-strength-reduce -ffixed-a2# enable processor switch if compiled only for a single cpuifndef CONFIG_M68020ifndef CONFIG_M68030ifndef CONFIG_M68060CFLAGS := $(CFLAGS) -m68040endififndef CONFIG_M68040CFLAGS := $(CFLAGS) -m68060endifendifendififdef CONFIG_KGDB# If configured for kgdb support, include debugging infos and keep the# frame pointerCFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS)) -gendififndef CONFIG_SUN3HEAD := arch/m68k/kernel/head.oelseHEAD := arch/m68k/kernel/sun3-head.oendif SUBDIRS += arch/m68k/kernel arch/m68k/mm arch/m68k/libCORE_FILES := arch/m68k/kernel/kernel.o arch/m68k/mm/mm.o $(CORE_FILES)LIBS += arch/m68k/lib/lib.aifdef CONFIG_Q40CORE_FILES := $(CORE_FILES) arch/m68k/q40/q40.oSUBDIRS := $(SUBDIRS) arch/m68k/q40endififdef CONFIG_AMIGACORE_FILES := $(CORE_FILES) arch/m68k/amiga/amiga.oSUBDIRS := $(SUBDIRS) arch/m68k/amigaendififdef CONFIG_ATARICORE_FILES := $(CORE_FILES) arch/m68k/atari/atari.oSUBDIRS := $(SUBDIRS) arch/m68k/atariendififdef CONFIG_MACCORE_FILES := $(CORE_FILES) arch/m68k/mac/mac.oSUBDIRS := $(SUBDIRS) arch/m68k/macendififdef CONFIG_HP300CORE_FILES := $(CORE_FILES) arch/m68k/hp300/hp300.oSUBDIRS := $(SUBDIRS) arch/m68k/hp300endififdef CONFIG_APOLLOCORE_FILES := $(CORE_FILES) arch/m68k/apollo/apollo.oSUBDIRS := $(SUBDIRS) arch/m68k/apolloendififdef CONFIG_MVME147CORE_FILES := $(CORE_FILES) arch/m68k/mvme147/mvme147.oSUBDIRS := $(SUBDIRS) arch/m68k/mvme147endififdef CONFIG_MVME16xCORE_FILES := $(CORE_FILES) arch/m68k/mvme16x/mvme16x.oSUBDIRS := $(SUBDIRS) arch/m68k/mvme16xendififdef CONFIG_BVME6000CORE_FILES := $(CORE_FILES) arch/m68k/bvme6000/bvme6000.oSUBDIRS := $(SUBDIRS) arch/m68k/bvme6000endififdef CONFIG_SUN3XCORE_FILES := $(CORE_FILES) arch/m68k/sun3x/sun3x.oSUBDIRS := $(SUBDIRS) arch/m68k/sun3xendififdef CONFIG_SUN3CORE_FILES := $(CORE_FILES) arch/m68k/sun3/sun3.o arch/m68k/sun3/prom/promlib.aSUBDIRS := $(SUBDIRS) arch/m68k/sun3 arch/m68k/sun3/promendififdef CONFIG_M68040CORE_FILES := $(CORE_FILES) arch/m68k/fpsp040/fpsp.oSUBDIRS := $(SUBDIRS) arch/m68k/fpsp040endififdef CONFIG_M68060CORE_FILES := $(CORE_FILES) arch/m68k/ifpsp060/ifpsp.oSUBDIRS := $(SUBDIRS) arch/m68k/ifpsp060endififdef CONFIG_M68KFPU_EMUCORE_FILES := $(CORE_FILES) arch/m68k/math-emu/mathemu.oSUBDIRS := $(SUBDIRS) arch/m68k/math-emuendif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -