📄 makefile
字号:
# $Id: Makefile,v 1.48 2000/12/15 00:41:24 davem Exp $# sparc/Makefile## Makefile for the architecture dependent flags and dependencies on the# Sparc.## Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)## If the solaris /bin/sh wasn't so broken, I wouldn't need the following# line...SHELL =/bin/bash## Uncomment the first CFLAGS if you are doing kgdb source level# debugging of the kernel to get the proper debugging information.IS_EGCS := $(shell if $(CC) -m32 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo y; else echo n; fi; )NEW_GAS := $(shell if $(LD) --version 2>&1 | grep 'elf64_sparc' > /dev/null; then echo y; else echo n; fi)ifeq ($(NEW_GAS),y)AS := $(AS) -32LD := $(LD) -m elf32_sparcendif#CFLAGS := $(CFLAGS) -g -pipe -fcall-used-g5 -fcall-used-g7ifneq ($(IS_EGCS),y)CFLAGS := $(CFLAGS) -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7elseCFLAGS := $(CFLAGS) -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7endif#LINKFLAGS = -N -Ttext 0xf0004000LINKFLAGS = -T arch/sparc/vmlinux.ldsHEAD := arch/sparc/kernel/head.o arch/sparc/kernel/init_task.oSUBDIRS += arch/sparc/kernel arch/sparc/lib arch/sparc/prom \ arch/sparc/mm arch/sparc/math-emuCORE_FILES := arch/sparc/kernel/kernel.o arch/sparc/mm/mm.o $(CORE_FILES) \ arch/sparc/math-emu/math-emu.oLIBS := $(TOPDIR)/lib/lib.a $(LIBS) $(TOPDIR)/arch/sparc/prom/promlib.a \ $(TOPDIR)/arch/sparc/lib/lib.a# This one has to come lastSUBDIRS += arch/sparc/bootCORE_FILES_NO_BTFIX := $(CORE_FILES)CORE_FILES += arch/sparc/boot/btfix.oexport CORE_FILES_NO_BTFIXarchclean: rm -f $(TOPDIR)/vmlinux.aout -$(MAKE) -C arch/sparc/boot cleanarchmrproper: rm -f $(TOPDIR)/include/asm-sparc/asm_offsets.harchdep: check_asmcheck_asm: $(MAKE) -C arch/sparc/kernel check_asmtftpboot.img: $(MAKE) -C arch/sparc/boot tftpboot.img
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -