From 14470b325935ee8a0ef8b73b33827ab633c1366f Mon Sep 17 00:00:00 2001 From: Will Wagner Date: Thu, 30 May 2013 14:08:05 +0100 Subject: opengl: correct detection of virtual packages having no dependencies I believe the original intent was to make it that the configure step for the opengl virtual packages fails if there is not at least one dependency. This patch fixes the logic so that it actually fails if dependency list is empty Signed-off-by: Will Wagner Reviewed-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/opengl/libopenvg/libopenvg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/opengl/libopenvg') diff --git a/package/opengl/libopenvg/libopenvg.mk b/package/opengl/libopenvg/libopenvg.mk index 573fa786d..746b52c9a 100644 --- a/package/opengl/libopenvg/libopenvg.mk +++ b/package/opengl/libopenvg/libopenvg.mk @@ -10,7 +10,7 @@ ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) LIBOPENVG_DEPENDENCIES += rpi-userland endif -ifeq ($(LIBOPENVG_DEPENDENCIES),y) +ifeq ($(LIBOPENVG_DEPENDENCIES),) define LIBOPENVG_CONFIGURE_CMDS echo "No libOpenVG implementation selected. Configuration error." exit 1 -- cgit v1.2.3