patch-2.1.110 linux/arch/alpha/Makefile

Next file: linux/arch/alpha/defconfig
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/arch/alpha/Makefile linux/arch/alpha/Makefile
@@ -29,11 +29,16 @@
 # determine if we can use the BWX instructions with GAS
 OLD_GAS := $(shell if $(AS) --version 2>&1 | grep 'version 2.7' > /dev/null; then echo y; else echo n; fi)
 
-# if PYXIS, then enable use of BWIO space
+# If PYXIS, then enable use of BWIO space
 ifneq ($(OLD_GAS),y)
  ifeq ($(CONFIG_ALPHA_PYXIS),y)
   CFLAGS := $(CFLAGS) -Wa,-m21164a -DBWX_USABLE -DBWIO_ENABLED
  endif
+endif
+
+# If EV6, turn on the proper optimizations.
+ifeq ($(CONFIG_ALPHA_EV6),y)
+ CFLAGS := -mcpu=ev6 $(CFLAGS)
 endif
 
 HEAD := arch/alpha/kernel/head.o

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov