瀏覽代碼

pxa: use -mcpu=xscale compiler option

Pass '-mcpu=xscale' to the compiler instead of march and mtune.  This will cause
gcc to define the __XSCALE__ macro.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Mike Dunn 12 年之前
父節點
當前提交
84c617beb2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/cpu/pxa/config.mk

+ 1 - 1
arch/arm/cpu/pxa/config.mk

@@ -24,7 +24,7 @@
 
 PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
 
-PLATFORM_CPPFLAGS += -march=armv5te -mtune=xscale
+PLATFORM_CPPFLAGS += -mcpu=xscale
 # =========================================================================
 #
 # Supply options according to compiler version