summaryrefslogtreecommitdiffstats
path: root/package/opengl/libopenmax
diff options
context:
space:
mode:
Diffstat (limited to 'package/opengl/libopenmax')
-rw-r--r--package/opengl/libopenmax/libopenmax.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/package/opengl/libopenmax/libopenmax.mk b/package/opengl/libopenmax/libopenmax.mk
index c4f1f7117d..a2bd23d2ae 100644
--- a/package/opengl/libopenmax/libopenmax.mk
+++ b/package/opengl/libopenmax/libopenmax.mk
@@ -7,11 +7,10 @@
LIBOPENMAX_SOURCE =
LIBOPENMAX_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENMAX))
+ifeq ($(BR2_PACKAGE_HAS_OPENMAX),y)
ifeq ($(LIBOPENMAX_DEPENDENCIES),)
-define LIBOPENMAX_CONFIGURE_CMDS
- echo "No libopenmax implementation selected. Configuration error."
- exit 1
-endef
+$(error No libopenmax implementation selected. Configuration error.)
+endif
endif
$(eval $(generic-package))
OpenPOWER on IntegriCloud