diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Makefile.cpu | 4 | ||||
-rw-r--r-- | arch/x86_64/Makefile | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/i386/Makefile.cpu b/arch/i386/Makefile.cpu index dcd936ef45db..a11befba26d5 100644 --- a/arch/i386/Makefile.cpu +++ b/arch/i386/Makefile.cpu | |||
@@ -39,3 +39,7 @@ cflags-$(CONFIG_X86_ELAN) += -march=i486 | |||
39 | # Geode GX1 support | 39 | # Geode GX1 support |
40 | cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx | 40 | cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx |
41 | 41 | ||
42 | # add at the end to overwrite eventual tuning options from earlier | ||
43 | # cpu entries | ||
44 | cflags-$(CONFIG_X86_GENERIC) += $(call tune,generic) | ||
45 | |||
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 7405dfd6522b..f5e48ba9bec7 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -29,6 +29,7 @@ CHECKFLAGS += -D__x86_64__ -m64 | |||
29 | 29 | ||
30 | cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8) | 30 | cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8) |
31 | cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona) | 31 | cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona) |
32 | cflags-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=generic) | ||
32 | CFLAGS += $(cflags-y) | 33 | CFLAGS += $(cflags-y) |
33 | 34 | ||
34 | CFLAGS += -m64 | 35 | CFLAGS += -m64 |