mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 04:36:33 +00:00
package/sdl2: enable 3DNOW only if it's supported by the target
Signed-off-by: Nicolas Robin <nrosfs@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit fe29913fa96d2265ecf91e259f334dbdd67f92fb) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
de31821609
commit
5fd337ec22
@ -36,6 +36,12 @@ else
|
|||||||
SDL2_CONF_OPTS += --disable-sse
|
SDL2_CONF_OPTS += --disable-sse
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_SDL2_DIRECTFB),y)
|
||||||
SDL2_DEPENDENCIES += directfb
|
SDL2_DEPENDENCIES += directfb
|
||||||
SDL2_CONF_OPTS += --enable-video-directfb
|
SDL2_CONF_OPTS += --enable-video-directfb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user