[Buildroot] [PATCH 1/1] arch/Config.in.x86: add MMX instruction set capability for Geode CPU

Cherniaev Andrei dungeonlords789 at naver.com
Sun Jul 16 11:00:38 UTC 2023


From: AndreiCherniaev <dungeonlords789 at naver.com>

Currently, there is no MMX support for modern GEODE processors in Buildroot.
Yet, some packages like ffmpeg can leverage it when the package is built.

Signed-off-by: Cherniaev Andrei <dungeonlords789 at naver.com>
---
 arch/Config.in.x86 | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/arch/Config.in.x86 b/arch/Config.in.x86
index c770ae3ffe..595db48d91 100644
--- a/arch/Config.in.x86
+++ b/arch/Config.in.x86
@@ -521,11 +521,10 @@ config BR2_x86_steamroller
 	select BR2_X86_CPU_HAS_SSE4
 	select BR2_X86_CPU_HAS_SSE42
 config BR2_x86_geode
-	bool "geode"
-	# Don't include MMX support because there several variant of geode
-	# processor, some with MMX support, some without.
-	# See: http://en.wikipedia.org/wiki/Geode_%28processor%29
-	depends on !BR2_x86_64
+        bool "geode"
+        depends on !BR2_x86_64
+        help
+          see also BR2_x86_geode_with_MMX
 config BR2_x86_c3
 	bool "Via/Cyrix C3 (Samuel/Ezra cores)"
 	depends on !BR2_x86_64
@@ -633,5 +632,16 @@ config BR2_READELF_ARCH_NAME
 	default "Intel 80386"			if BR2_i386
 	default "Advanced Micro Devices X86-64" if BR2_x86_64
 
+config BR2_x86_geode_with_MMX
+        bool "GEODE with MMX"
+        depends on BR2_x86_geode
+        default n
+        select BR2_X86_CPU_HAS_MMX
+        help
+          there several variant of geode processor,
+          some with MMX support, some without.
+          See: http://en.wikipedia.org/wiki/Geode_%28processor%29
+          And decide can you use MMX or not
+
 # vim: ft=kconfig
 # -*- mode:kconfig; -*-
-- 
2.34.1




More information about the buildroot mailing list