1 # 2 # alpha/Makefile 3 # 4 # This file is subject to the terms and condit 5 # License. See the file "COPYING" in the main 6 # for more details. 7 # 8 # Copyright (C) 1994 by Linus Torvalds 9 # 10 11 NM := $(NM) -B 12 13 LDFLAGS_vmlinux := -static -N #-relax 14 CHECKFLAGS += -D__alpha__ 15 cflags-y := -pipe -mno-fp-regs -ffixed- 16 cflags-y += $(call cc-option, -fno-jump 17 18 cpuflags-$(CONFIG_ALPHA_EV56) := -mc 19 cpuflags-$(CONFIG_ALPHA_POLARIS) := -mc 20 cpuflags-$(CONFIG_ALPHA_SX164) := -mc 21 cpuflags-$(CONFIG_ALPHA_EV6) := -mc 22 cpuflags-$(CONFIG_ALPHA_EV67) := -mc 23 # If GENERIC, make sure to turn off any instru 24 # the host compiler might have on by default. 25 cpuflags-$(CONFIG_ALPHA_GENERIC) := -mc 26 27 cflags-y += $(c 28 29 30 # For TSUNAMI, we must have the assembler not 31 # The same is true for IRONGATE, POLARIS, PYXI 32 # BWX is most important, but we don't really w 33 KBUILD_CFLAGS += $(cflags-y) -Wa,-mev6 34 35 libs-y += arch/alpha/ 36 37 # export what is needed by arch/alpha/boot/Mak 38 LIBS_Y := $(patsubst %/, %/lib.a, $(libs-y)) 39 export LIBS_Y 40 41 boot := arch/alpha/boot 42 43 #Default target when executing make with no ar 44 all boot: $(boot)/vmlinux.gz 45 46 $(boot)/vmlinux.gz: vmlinux 47 $(Q)$(MAKE) $(build)=$(boot) $@ 48 49 bootimage bootpfile bootpzfile: vmlinux 50 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$ 51 52 archheaders: 53 $(Q)$(MAKE) $(build)=arch/alpha/kernel 54 55 define archhelp 56 echo '* boot - Compressed kernel im 57 echo ' bootimage - SRM bootable image ( 58 echo ' bootpfile - BOOTP bootable image 59 echo ' bootpzfile - compressed kernel BO 60 endef
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.