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

📄 makefile

📁 linux 内核源代码
💻
字号:
## frv/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) 2003, 2004 Red Hat Inc.# - Written by David Howells <dhowells@redhat.com># - Derived from arch/m68knommu/Makefile,#	Copyright (c) 1999,2001  D. Jeff Dionne <jeff@lineo.ca>,#	Rt-Control Inc. / Lineo, Inc.## Copyright (C) 1998,1999  D. Jeff Dionne <jeff@uclinux.org>,#                          Kenneth Albanowski <kjahds@kjahds.com>,## Based on arch/m68k/Makefile:# Copyright (C) 1994 by Hamish Macdonald#CCSPECS	:= $(shell $(CC) -v 2>&1 | grep "^Reading specs from " | head -1 | cut -c20-)CCDIR	:= $(strip $(patsubst %/specs,%,$(CCSPECS)))CPUCLASS := fr400# test for cross compilingCOMPILE_ARCH = $(shell uname -m)ifdef CONFIG_MMUUTS_SYSNAME = -DUTS_SYSNAME=\"Linux\"elseUTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\"endifARCHMODFLAGS	+= -G0 -mlong-callsifdef CONFIG_GPREL_DATA_8KBUILD_CFLAGS	+= -G8elseifdef CONFIG_GPREL_DATA_4KBUILD_CFLAGS	+= -G4elseifdef CONFIG_GPREL_DATA_NONEKBUILD_CFLAGS	+= -G0endifendifendif#LDFLAGS_vmlinux	:= -Map linkmap.txtifdef CONFIG_GC_SECTIONSKBUILD_CFLAGS	+= -ffunction-sections -fdata-sectionsLINKFLAGS	+= --gc-sectionsendififndef CONFIG_FRAME_POINTERKBUILD_CFLAGS	+= -mno-linked-fpendififdef CONFIG_CPU_FR451_COMPILEKBUILD_CFLAGS	+= -mcpu=fr450KBUILD_AFLAGS	+= -mcpu=fr450ASFLAGS		+= -mcpu=fr450elseifdef CONFIG_CPU_FR551_COMPILEKBUILD_CFLAGS	+= -mcpu=fr550KBUILD_AFLAGS	+= -mcpu=fr550ASFLAGS		+= -mcpu=fr550elseKBUILD_CFLAGS	+= -mcpu=fr400KBUILD_AFLAGS	+= -mcpu=fr400ASFLAGS		+= -mcpu=fr400endifendif# pretend the kernel is going to run on an FR400 with no media-fp unit# - reserve CC3 for use with atomic ops# - all the extra registers are dealt with only at context switch timeKBUILD_CFLAGS	+= -mno-fdpic -mgpr-32 -msoft-float -mno-mediaKBUILD_CFLAGS	+= -ffixed-fcc3 -ffixed-cc3 -ffixed-gr15 -ffixed-icc2KBUILD_AFLAGS	+= -mno-fdpicASFLAGS		+= -mno-fdpic# make sure the .S files get compiled with debug info# and disable optimisations that are unhelpful whilst debuggingifdef CONFIG_DEBUG_INFO#KBUILD_CFLAGS	+= -O1KBUILD_AFLAGS	+= -Wa,--gdwarf2ASFLAGS		+= -Wa,--gdwarf2endifhead-y		:= arch/frv/kernel/head.o arch/frv/kernel/init_task.ocore-y		+= arch/frv/kernel/ arch/frv/mm/libs-y		+= arch/frv/lib/core-$(CONFIG_MB93090_MB00)	+= arch/frv/mb93090-mb00/all: ImageImage: vmlinux	$(Q)$(MAKE) $(build)=arch/frv/boot $@bootstrap:	$(Q)$(MAKEBOOT) bootstraparchclean:	$(Q)$(MAKE) $(clean)=arch/frv/bootarchdep: scripts/mkdep symlinks	$(Q)$(MAKE) $(build)=arch/frv/boot dep

⌨️ 快捷键说明

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