From 37f6ecd4d02d1e0fdce70fe4a7b404a6e2d06426 Mon Sep 17 00:00:00 2001 From: Spenser Gilliland Date: Thu, 30 May 2013 06:30:36 +0000 Subject: 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 Signed-off-by: Peter Korsgaard --- package/opengl/libopenmax/libopenmax.mk | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/opengl/libopenmax/libopenmax.mk (limited to 'package/opengl/libopenmax') diff --git a/package/opengl/libopenmax/libopenmax.mk b/package/opengl/libopenmax/libopenmax.mk new file mode 100644 index 000000000..430760208 --- /dev/null +++ b/package/opengl/libopenmax/libopenmax.mk @@ -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)) -- cgit v1.2.3