From patchwork Thu Jul 5 22:42:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 169291 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 757462C0082 for ; Fri, 6 Jul 2012 08:46:29 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A861B8CD62; Thu, 5 Jul 2012 22:46:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IykjTbcCOjfX; Thu, 5 Jul 2012 22:46:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 564FC8CAB6; Thu, 5 Jul 2012 22:46:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BB6518F753 for ; Thu, 5 Jul 2012 22:44:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3D56086572 for ; Thu, 5 Jul 2012 22:44:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BBuvr+NBfhVy for ; Thu, 5 Jul 2012 22:44:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3730289038 for ; Thu, 5 Jul 2012 22:44:21 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm2so130794wib.10 for ; Thu, 05 Jul 2012 15:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=S9Bq++M3sX1d/3LvWV6ebQ8D0mG0cL9gMOlBj/r8nkQ=; b=ablavtubid5s56MkP7Kwsm9rWLnkgxo4mS48UKABiSlQ1QXHIJk8GaoOG5y3fkjffe y6rVyvj2Bga6a1sRsWLq0HAl8HxVMwqD0C3ob92W4meqRdV6E/IATPsQe4lEtSJjAeL5 pi8X4clpXWu0oC1zTY9ZYahQc3Pq5tlLqfD3ttxuzhXM/rsbtnjPQxISwTPVP0UEoxxK ofiLn/ALHaQZzB6pyBU5pGGi9ikMmnP7s9mPoRU+PuMbLN58LJUqzCKe/BdiLUWsawPV RAsEw+OE3L1sYTSMgfSD0VVAdtTvf3xE5L3pN6h+GCQG0/da3pCh/+Z2ExEOumyjVZe4 P4MQ== Received: by 10.180.99.195 with SMTP id es3mr2836886wib.12.1341528260850; Thu, 05 Jul 2012 15:44:20 -0700 (PDT) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id j6sm3868134wiy.4.2012.07.05.15.44.19 (version=SSLv3 cipher=OTHER); Thu, 05 Jul 2012 15:44:19 -0700 (PDT) From: Samuel Martin To: buildroot@busybox.net Date: Fri, 6 Jul 2012 00:42:35 +0200 Message-Id: <1341528156-4197-5-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.7.11.1 In-Reply-To: <1341528156-4197-1-git-send-email-s.martin49@gmail.com> References: <1341528156-4197-1-git-send-email-s.martin49@gmail.com> Subject: [Buildroot] [PATCH v4 4/5] sdl_sound: refactor *_CONF_OPT assignment with cpu-feature options X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Samuel Martin diff --git a/package/sdl_sound/sdl_sound.mk b/package/sdl_sound/sdl_sound.mk index a5d9a26..620b3b4 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