@@ -66,15 +66,15 @@ KBUILD_CFLAGS += $(call cc-option,-fno-ipa-sra)
6666# Note that GCC does not numerically define an architecture version
6767# macro, but instead defines a whole series of macros which makes
6868# testing for a specific architecture or later rather impossible.
69- arch-$(CONFIG_CPU_32v7M) =-D__LINUX_ARM_ARCH__=7 -march=armv7-m -Wa,-march=armv7-m
70- arch-$(CONFIG_CPU_32v7) =-D__LINUX_ARM_ARCH__=7 $( call cc-option,- march=armv7-a,-march=armv5t -Wa $( comma ) -march=armv7-a)
71- arch-$(CONFIG_CPU_32v6) =-D__LINUX_ARM_ARCH__=6 $( call cc-option,- march=armv6,-march=armv5t -Wa $( comma ) -march=armv6)
69+ arch-$(CONFIG_CPU_32v7M) =-D__LINUX_ARM_ARCH__=7 -march=armv7-m
70+ arch-$(CONFIG_CPU_32v7) =-D__LINUX_ARM_ARCH__=7 - march=armv7-a
71+ arch-$(CONFIG_CPU_32v6) =-D__LINUX_ARM_ARCH__=6 - march=armv6
7272# Only override the compiler option if ARMv6. The ARMv6K extensions are
7373# always available in ARMv7
7474ifeq ($(CONFIG_CPU_32v6 ) ,y)
75- arch-$(CONFIG_CPU_32v6K) =-D__LINUX_ARM_ARCH__=6 $( call cc-option,- march=armv6k,-march=armv5t -Wa $( comma ) -march=armv6k)
75+ arch-$(CONFIG_CPU_32v6K) =-D__LINUX_ARM_ARCH__=6 - march=armv6k
7676endif
77- arch-$(CONFIG_CPU_32v5) =-D__LINUX_ARM_ARCH__=5 $( call cc-option,- march=armv5te,-march=armv4t)
77+ arch-$(CONFIG_CPU_32v5) =-D__LINUX_ARM_ARCH__=5 - march=armv5te
7878arch-$(CONFIG_CPU_32v4T) =-D__LINUX_ARM_ARCH__=4 -march=armv4t
7979arch-$(CONFIG_CPU_32v4) =-D__LINUX_ARM_ARCH__=4 -march=armv4
8080arch-$(CONFIG_CPU_32v3) =-D__LINUX_ARM_ARCH__=3 -march=armv3m
@@ -88,19 +88,19 @@ tune-$(CONFIG_CPU_ARM720T) =-mtune=arm7tdmi
8888tune-$(CONFIG_CPU_ARM740T) =-mtune=arm7tdmi
8989tune-$(CONFIG_CPU_ARM9TDMI) =-mtune=arm9tdmi
9090tune-$(CONFIG_CPU_ARM940T) =-mtune=arm9tdmi
91- tune-$(CONFIG_CPU_ARM946E) =$( call cc-option,- mtune=arm9e,-mtune=arm9tdmi)
91+ tune-$(CONFIG_CPU_ARM946E) =- mtune=arm9e
9292tune-$(CONFIG_CPU_ARM920T) =-mtune=arm9tdmi
9393tune-$(CONFIG_CPU_ARM922T) =-mtune=arm9tdmi
9494tune-$(CONFIG_CPU_ARM925T) =-mtune=arm9tdmi
9595tune-$(CONFIG_CPU_ARM926T) =-mtune=arm9tdmi
9696tune-$(CONFIG_CPU_FA526) =-mtune=arm9tdmi
9797tune-$(CONFIG_CPU_SA110) =-mtune=strongarm110
9898tune-$(CONFIG_CPU_SA1100) =-mtune=strongarm1100
99- tune-$(CONFIG_CPU_XSCALE) =$( call cc-option,- mtune=xscale,-mtune=strongarm110) -Wa,-mcpu =xscale
100- tune-$(CONFIG_CPU_XSC3) =$( call cc-option,- mtune=xscale,-mtune=strongarm110) -Wa,-mcpu =xscale
101- tune-$(CONFIG_CPU_FEROCEON) =$( call cc-option,- mtune=marvell-f,-mtune= xscale)
102- tune-$(CONFIG_CPU_V6) =$( call cc-option,- mtune=arm1136j-s,-mtune=strongarm)
103- tune-$(CONFIG_CPU_V6K) =$( call cc-option,- mtune=arm1136j-s,-mtune=strongarm)
99+ tune-$(CONFIG_CPU_XSCALE) =- mtune=xscale
100+ tune-$(CONFIG_CPU_XSC3) =- mtune=xscale
101+ tune-$(CONFIG_CPU_FEROCEON) =- mtune=xscale
102+ tune-$(CONFIG_CPU_V6) =- mtune=arm1136j-s
103+ tune-$(CONFIG_CPU_V6K) =- mtune=arm1136j-s
104104
105105# Evaluate tune cc-option calls now
106106tune-y := $(tune-y )
0 commit comments