[PATCH] x86/cpu: remove unused AMD Elan cflags definition
From: Ethan Nelson-Moore
Date: Tue Jun 09 2026 - 00:50:09 EST
Support for AMD Elan CPUs was removed in commit 8b793a92d862 ("x86/cpu:
Remove M486/M486SX/ELAN support"), but the cflags -march= definition
for CONFIG_MELAN was not removed. Remove it.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@xxxxxxxxx>
---
arch/x86/Makefile_32.cpu | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/x86/Makefile_32.cpu b/arch/x86/Makefile_32.cpu
index 7c9898c15376..8bad96d7c463 100644
--- a/arch/x86/Makefile_32.cpu
+++ b/arch/x86/Makefile_32.cpu
@@ -31,9 +31,6 @@ cflags-$(CONFIG_MVIAC3_2) += $(call cc-option,-march=c3-2,-march=i686)
cflags-$(CONFIG_MVIAC7) += -march=i686
cflags-$(CONFIG_MATOM) += -march=atom
-# AMD Elan support
-cflags-$(CONFIG_MELAN) += -march=i486
-
# Geode GX1 support
cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx
cflags-$(CONFIG_MGEODE_LX) += $(call cc-option,-march=geode,-march=pentium-mmx)
--
2.43.0