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>
19 lines
535 B
Makefile
19 lines
535 B
Makefile
#############################################################
|
|
#
|
|
# luainterpreter
|
|
#
|
|
#############################################################
|
|
|
|
LUAINTERPRETER_SOURCE =
|
|
LUAINTERPRETER_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_LUA_INTERPRETER))
|
|
|
|
LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION))
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LUA_INTERPRETER),y)
|
|
ifeq ($(LUAINTERPRETER_DEPENDENCIES),)
|
|
$(error No lua interpreter implementation selected. Configuration error.)
|
|
endif
|
|
endif
|
|
|
|
$(eval $(generic-package))
|