makefile.ppc

来自「Linux Device Drivers 2nd 经典书籍的配套源码」· PPC 代码 · 共 43 行

PPC
43
字号
# This material is inherited from the Linux Makefile: arch/alpha/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 Linus Torvalds# Changes for PPC by Gary Thomas# Rewritten by Cort Dougan and Paul Mackerras#KERNELLOAD	=0xc0000000ifeq ($(shell uname -m),ppc)CHECKS		= checksendifASFLAGS		=LINKFLAGS	= -T arch/ppc/vmlinux.lds -Ttext $(KERNELLOAD) -BstaticCPPFLAGS	:= $(CPPFLAGS) -D__powerpc__CFLAGS          := $(CFLAGS) -D__powerpc__ -fsigned-char -msoft-float -pipe \                -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstringCPP		= $(CC) -E $(CFLAGS)ifdef CONFIG_4xxCFLAGS := $(CFLAGS) -mcpu=403endififdef CONFIG_8xxCFLAGS := $(CFLAGS) -mcpu=860 -I../8xx_ioendififdef CONFIG_PPC64BRIDGECFLAGS := $(CFLAGS) -Wa,-mppc64bridgeendif

⌨️ 快捷键说明

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