From cae0947b053bec39508c3c2e922ddcbd1f512225 Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Mon, 16 Jul 2012 23:37:29 +0200 Subject: sdl_sound: refactor *_CONF_OPT assignment with cpu-feature options Signed-off-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- package/sdl_sound/sdl_sound.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package/sdl_sound/sdl_sound.mk') diff --git a/package/sdl_sound/sdl_sound.mk b/package/sdl_sound/sdl_sound.mk index a5d9a26d5..620b3b469 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_X86_CPU_HAS_MMX),y) SDL_SOUND_CONF_OPT += --enable-mmx else SDL_SOUND_CONF_OPT += --disable-mmx -- cgit v1.2.3