12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- NM := $(NM) -B
- LDFLAGS_vmlinux := -static -N #-relax
- CHECKFLAGS += -D__alpha__ -m64
- cflags-y := -pipe -mno-fp-regs -ffixed-8
- cflags-y += $(call cc-option, -fno-jump-tables)
- cpuflags-$(CONFIG_ALPHA_EV4) := -mcpu=ev4
- cpuflags-$(CONFIG_ALPHA_EV5) := -mcpu=ev5
- cpuflags-$(CONFIG_ALPHA_EV56) := -mcpu=ev56
- cpuflags-$(CONFIG_ALPHA_POLARIS) := -mcpu=pca56
- cpuflags-$(CONFIG_ALPHA_SX164) := -mcpu=pca56
- cpuflags-$(CONFIG_ALPHA_EV6) := -mcpu=ev6
- cpuflags-$(CONFIG_ALPHA_EV67) := -mcpu=ev67
- cpuflags-$(CONFIG_ALPHA_GENERIC) := -mcpu=ev5
- cflags-y += $(cpuflags-y)
- KBUILD_CFLAGS += $(cflags-y) -Wa,-mev6
- head-y := arch/alpha/kernel/head.o
- core-y += arch/alpha/kernel/ arch/alpha/mm/
- core-$(CONFIG_MATHEMU) += arch/alpha/math-emu/
- drivers-$(CONFIG_OPROFILE) += arch/alpha/oprofile/
- libs-y += arch/alpha/lib/
- LIBS_Y := $(patsubst %/, %/lib.a, $(libs-y))
- export LIBS_Y
- boot := arch/alpha/boot
- all boot: $(boot)/vmlinux.gz
- $(boot)/vmlinux.gz: vmlinux
- $(Q)$(MAKE) $(build)=$(boot) $@
- bootimage bootpfile bootpzfile: vmlinux
- $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
- archclean:
- $(Q)$(MAKE) $(clean)=$(boot)
- define archhelp
- echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)'
- echo ' bootimage - SRM bootable image (arch/alpha/boot/bootimage)'
- echo ' bootpfile - BOOTP bootable image (arch/alpha/boot/bootpfile)'
- echo ' bootpzfile - compressed kernel BOOTP image (arch/alpha/boot/bootpzfile)'
- endef
|