buildrootschalter/package/opengl/libegl/libegl.mk
Will Wagner 14470b3259 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 <will_wagner@carallon.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-30 15:42:45 +02:00

21 lines
427 B
Makefile

#############################################################
#
# Virtual package for libEGL
#
#############################################################
LIBEGL_SOURCE =
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
LIBEGL_DEPENDENCIES += rpi-userland
endif
ifeq ($(LIBEGL_DEPENDENCIES),)
define LIBEGL_CONFIGURE_CMDS
echo "No libEGL implementation selected. Configuration error."
exit 1
endef
endif
$(eval $(generic-package))