x86: add specific support for Intel Atom architecture
[firefly-linux-kernel-4.4.55.git] / arch / x86 / Makefile_32.cpu
index 80177ec052f0378d63caef550e7ea8d805ada907..30e9a264f69d8f2216b3a2e80806e0c79b0063cc 100644 (file)
@@ -33,6 +33,8 @@ cflags-$(CONFIG_MCYRIXIII)    += $(call cc-option,-march=c3,-march=i486) $(align)-f
 cflags-$(CONFIG_MVIAC3_2)      += $(call cc-option,-march=c3-2,-march=i686)
 cflags-$(CONFIG_MVIAC7)                += -march=i686
 cflags-$(CONFIG_MCORE2)                += -march=i686 $(call tune,core2)
+cflags-$(CONFIG_MATOM)         += $(call cc-option,-march=atom,$(call cc-option,-march=core2,-march=i686)) \
+       $(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic))
 
 # AMD Elan support
 cflags-$(CONFIG_X86_ELAN)      += -march=i486