summaryrefslogtreecommitdiff
path: root/package/opengl/libgles/libgles.mk
blob: 2945496492bf0975555ce3ff5857842cba543199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
################################################################################
#
# libgles
#
################################################################################

LIBGLES_SOURCE =

ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
LIBGLES_DEPENDENCIES += rpi-userland
endif

ifeq ($(BR2_PACKAGE_TI_GFX),y)
LIBGLES_DEPENDENCIES += ti-gfx
endif

ifeq ($(BR2_PACKAGE_SUNXI_MALI),y)
LIBGLES_DEPENDENCIES += sunxi-mali
endif

ifeq ($(LIBGLES_DEPENDENCIES),)
define LIBGLES_CONFIGURE_CMDS
	echo "No libGLES implementation selected. Configuration error."
	exit 1
endef
endif

$(eval $(generic-package))