[Buildroot] [PATCH v2 4/5] sdl_sound: refactor *_CONF_OPT assignment with cpu-feature options
Samuel Martin
s.martin49 at gmail.com
Sat Jun 2 22:09:46 UTC 2012
Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
diff --git a/package/sdl_sound/sdl_sound.mk b/package/sdl_sound/sdl_sound.mk
index f95d6bc..05648bf 100644
--- a/package/sdl_sound/sdl_sound.mk
+++ b/package/sdl_sound/sdl_sound.mk
@@ -32,8 +32,7 @@ SDL_SOUND_CONF_OPT = \
--disable-sdltest \
--enable-static
-# enable mmx for newer x86's
-ifeq ($(BR2_i386)$(BR2_x86_i386)$(BR2_x86_i486)$(BR2_x86_i586)$(BR2_x86_pentiumpro)$(BR2_x86_geode),y)
+ifeq ($(BR2_CPU_HAS_MMX),y)
SDL_SOUND_CONF_OPT += --enable-mmx
else
SDL_SOUND_CONF_OPT += --disable-mmx
--
1.7.10.3
More information about the buildroot
mailing list