2f08cad9a3
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
589 B
Makefile
29 lines
589 B
Makefile
################################################################################
|
|
#
|
|
# libegl
|
|
#
|
|
################################################################################
|
|
|
|
LIBEGL_SOURCE =
|
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
LIBEGL_DEPENDENCIES += rpi-userland
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TI_GFX),y)
|
|
LIBEGL_DEPENDENCIES += ti-gfx
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SUNXI_MALI),y)
|
|
LIBEGL_DEPENDENCIES += sunxi-mali
|
|
endif
|
|
|
|
ifeq ($(LIBEGL_DEPENDENCIES),)
|
|
define LIBEGL_CONFIGURE_CMDS
|
|
echo "No libEGL implementation selected. Configuration error."
|
|
exit 1
|
|
endef
|
|
endif
|
|
|
|
$(eval $(generic-package))
|