mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
package/opengl/libopenmax: switch to package-defined providers
For the underlying reasons, see previous patch, titled: package/opengl/libegl: switch to package-defined providers Reported-by: David Corvoysier <david.corvoysier@orange.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
dd1ecc339a
commit
7b2b4c8342
@ -17,5 +17,12 @@ config BR2_PACKAGE_BELLAGIO
|
|||||||
|
|
||||||
http://omxil.sourceforge.net/
|
http://omxil.sourceforge.net/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_BELLAGIO
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PROVIDES_OPENMAX
|
||||||
|
default "bellagio"
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
comment "bellagio needs a toolchain w/ C++, threads, dynamic library"
|
comment "bellagio needs a toolchain w/ C++, threads, dynamic library"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
source "package/opengl/libegl/Config.in"
|
source "package/opengl/libegl/Config.in"
|
||||||
source "package/opengl/libgles/Config.in"
|
source "package/opengl/libgles/Config.in"
|
||||||
source "package/opengl/libopenvg/Config.in"
|
source "package/opengl/libopenvg/Config.in"
|
||||||
|
source "package/opengl/libopenmax/Config.in"
|
||||||
config BR2_PACKAGE_HAS_OPENMAX
|
|
||||||
bool
|
|
||||||
|
6
package/opengl/libopenmax/Config.in
Normal file
6
package/opengl/libopenmax/Config.in
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
config BR2_PACKAGE_HAS_OPENMAX
|
||||||
|
bool
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PROVIDES_OPENMAX
|
||||||
|
depends on BR2_PACKAGE_HAS_OPENMAX
|
||||||
|
string
|
@ -5,14 +5,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBOPENMAX_SOURCE =
|
LIBOPENMAX_SOURCE =
|
||||||
|
LIBOPENMAX_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENMAX))
|
||||||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
||||||
LIBOPENMAX_DEPENDENCIES += rpi-userland
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_BELLAGIO),y)
|
|
||||||
LIBOPENMAX_DEPENDENCIES += bellagio
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(LIBOPENMAX_DEPENDENCIES),)
|
ifeq ($(LIBOPENMAX_DEPENDENCIES),)
|
||||||
define LIBOPENMAX_CONFIGURE_CMDS
|
define LIBOPENMAX_CONFIGURE_CMDS
|
||||||
|
@ -28,6 +28,9 @@ config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
|||||||
config BR2_PACKAGE_PROVIDES_OPENVG
|
config BR2_PACKAGE_PROVIDES_OPENVG
|
||||||
default "rpi-userland"
|
default "rpi-userland"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PROVIDES_OPENMAX
|
||||||
|
default "rpi-userland"
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "rpi-userland needs a toolchain w/ C++, largefile, threads"
|
comment "rpi-userland needs a toolchain w/ C++, largefile, threads"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user