patch-2.2.0-final linux/arch/alpha/Makefile

Next file: linux/arch/alpha/kernel/entry.S
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre9/linux/arch/alpha/Makefile linux/arch/alpha/Makefile
@@ -49,7 +49,11 @@
     ifeq ($(have_mcpu_ev6),y)
       CFLAGS := $(CFLAGS) -mcpu=ev6
     else
-      CFLAGS := $(CFLAGS) -mcpu=pca56
+      ifeq ($(have_mcpu_pca56),y)
+        CFLAGS := $(CFLAGS) -mcpu=pca56
+      else
+        CFLAGS := $(CFLAGS) -mcpu=ev56
+      endif
     endif
   endif
 endif
@@ -71,6 +75,9 @@
  endif
  ifeq ($(CONFIG_ALPHA_POLARIS),y)
    CFLAGS := $(CFLAGS) -Wa,-m21164pc
+ endif
+ ifeq ($(CONFIG_ALPHA_TSUNAMI),y)
+   CFLAGS := $(CFLAGS) -Wa,-mev6
  endif
 endif
 

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