2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-06 11:22:47 +01:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# libgles
|
2013-03-06 11:22:47 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-06 11:22:47 +01:00
|
|
|
|
|
|
|
LIBGLES_SOURCE =
|
|
|
|
|
2013-03-06 11:22:48 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
|
|
LIBGLES_DEPENDENCIES += rpi-userland
|
|
|
|
endif
|
|
|
|
|
2013-07-15 23:44:19 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_TI_GFX),y)
|
|
|
|
LIBGLES_DEPENDENCIES += ti-gfx
|
|
|
|
endif
|
|
|
|
|
2013-07-20 01:37:53 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SUNXI_MALI),y)
|
|
|
|
LIBGLES_DEPENDENCIES += sunxi-mali
|
|
|
|
endif
|
|
|
|
|
2013-08-06 10:54:19 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q),y)
|
|
|
|
LIBGLES_DEPENDENCIES += gpu-viv-bin-mx6q
|
|
|
|
endif
|
|
|
|
|
2013-05-30 15:08:05 +02:00
|
|
|
ifeq ($(LIBGLES_DEPENDENCIES),)
|
2013-03-06 11:22:47 +01:00
|
|
|
define LIBGLES_CONFIGURE_CMDS
|
|
|
|
echo "No libGLES implementation selected. Configuration error."
|
|
|
|
exit 1
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|