libopenmax: Add libopenmax virtual package
this adds the libopenmax virtual package for hardware based video acceleration [Peter: fix openmax-without-any-backends check] Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
1460245354
commit
37f6ecd4d0
|
@ -1,6 +1,7 @@
|
||||||
config BR2_PACKAGE_BELLAGIO
|
config BR2_PACKAGE_BELLAGIO
|
||||||
bool "bellagio"
|
bool "bellagio"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
|
select BR2_PACKAGE_HAS_OPENMAX
|
||||||
help
|
help
|
||||||
Bellagio is an opensource implementation of the
|
Bellagio is an opensource implementation of the
|
||||||
OpenMAX IL API.
|
OpenMAX IL API.
|
||||||
|
|
|
@ -6,3 +6,6 @@ config BR2_PACKAGE_HAS_OPENGL_ES
|
||||||
|
|
||||||
config BR2_PACKAGE_HAS_OPENVG
|
config BR2_PACKAGE_HAS_OPENVG
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config BR2_PACKAGE_HAS_OPENMAX
|
||||||
|
bool
|
||||||
|
|
24
package/opengl/libopenmax/libopenmax.mk
Normal file
24
package/opengl/libopenmax/libopenmax.mk
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Virtual package for libopenmax
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
LIBOPENMAX_SOURCE =
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||||
|
LIBOPENMAX_DEPENDENCIES += rpi-userland
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_BELLAGIO),y)
|
||||||
|
LIBOPENMAX_DEPENDENCIES += bellagio
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(LIBOPENMAX_DEPENDENCIES),)
|
||||||
|
define LIBOPENMAX_CONFIGURE_CMDS
|
||||||
|
echo "No libopenmax implementation selected. Configuration error."
|
||||||
|
exit 1
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
|
@ -6,6 +6,7 @@ config BR2_PACKAGE_RPI_USERLAND
|
||||||
select BR2_PACKAGE_HAS_OPENGL_EGL
|
select BR2_PACKAGE_HAS_OPENGL_EGL
|
||||||
select BR2_PACKAGE_HAS_OPENGL_ES
|
select BR2_PACKAGE_HAS_OPENGL_ES
|
||||||
select BR2_PACKAGE_HAS_OPENVG
|
select BR2_PACKAGE_HAS_OPENVG
|
||||||
|
select BR2_PACKAGE_HAS_OPENMAX
|
||||||
help
|
help
|
||||||
Raspberry Pi Userland contains the necessary library to use the
|
Raspberry Pi Userland contains the necessary library to use the
|
||||||
VideoCore driver.
|
VideoCore driver.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user