f72fe5736c
The current version of dependency check for virtual package <foo> defines FOO_CONFIGURE_CMDS to print an error message if the dependencies are not met. This patch updates all the virtual packages to use the GNU Make control function $(error text...) instead. This makes the error happen at the beginning of the build, with a clearer message. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
17 lines
443 B
Makefile
17 lines
443 B
Makefile
################################################################################
|
|
#
|
|
# libgles
|
|
#
|
|
################################################################################
|
|
|
|
LIBGLES_SOURCE =
|
|
LIBGLES_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENGL_ES))
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_OPENGL_ES),y)
|
|
ifeq ($(LIBGLES_DEPENDENCIES),)
|
|
$(error No libGLES implementation selected. Configuration error.)
|
|
endif
|
|
endif
|
|
|
|
$(eval $(generic-package))
|