public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Nicolas Robin <nrosfs@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/sdl2: enable 3DNOW only if it's supported by the target
Date: Fri, 15 May 2020 19:53:57 +0200	[thread overview]
Message-ID: <20200515175357.45954-3-nrosfs@gmail.com> (raw)
In-Reply-To: <20200515175357.45954-1-nrosfs@gmail.com>

Signed-off-by: Nicolas Robin <nrosfs@gmail.com>
---
 package/sdl2/sdl2.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/sdl2/sdl2.mk b/package/sdl2/sdl2.mk
index 4a287b66a3..830873c9e4 100644
--- a/package/sdl2/sdl2.mk
+++ b/package/sdl2/sdl2.mk
@@ -36,6 +36,12 @@ else
 SDL2_CONF_OPTS += --disable-sse
 endif
 
+ifeq ($(BR2_X86_CPU_HAS_3DNOW),y)
+SDL2_CONF_OPTS += --enable-3dnow
+else
+SDL2_CONF_OPTS += --disable-3dnow
+endif
+
 ifeq ($(BR2_PACKAGE_SDL2_DIRECTFB),y)
 SDL2_DEPENDENCIES += directfb
 SDL2_CONF_OPTS += --enable-video-directfb
-- 
2.24.0

  parent reply	other threads:[~2020-05-15 17:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 17:53 [Buildroot] [PATCH 1/3] package/sdl2: enable SSE only if it's supported by the target Nicolas Robin
2020-05-15 17:53 ` [Buildroot] [PATCH 2/3] arch/x86: adds BR2_X86_CPU_HAS_3DNOW flag Nicolas Robin
2020-07-16 16:18   ` Peter Korsgaard
2020-05-15 17:53 ` Nicolas Robin [this message]
2020-07-16 16:18   ` [Buildroot] [PATCH 3/3] package/sdl2: enable 3DNOW only if it's supported by the target Peter Korsgaard
2020-05-15 19:48 ` [Buildroot] [PATCH 1/3] package/sdl2: enable SSE " Thomas Petazzoni
2020-05-15 19:55   ` Nicolas Robin
2020-05-15 20:44     ` Thomas Petazzoni
2020-05-15 20:50       ` Nicolas Robin
2020-07-16 16:17 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200515175357.45954-3-nrosfs@gmail.com \
    --to=nrosfs@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox