2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-06 11:22:47 +01:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# libegl
|
2013-03-06 11:22:47 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-06 11:22:47 +01:00
|
|
|
|
|
|
|
LIBEGL_SOURCE =
|
|
|
|
|
2013-03-06 11:22:48 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
|
|
LIBEGL_DEPENDENCIES += rpi-userland
|
|
|
|
endif
|
|
|
|
|
2013-07-15 23:44:19 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_TI_GFX),y)
|
|
|
|
LIBEGL_DEPENDENCIES += ti-gfx
|
|
|
|
endif
|
|
|
|
|
2013-07-20 01:37:53 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SUNXI_MALI),y)
|
|
|
|
LIBEGL_DEPENDENCIES += sunxi-mali
|
|
|
|
endif
|
|
|
|
|
2013-05-30 15:08:05 +02:00
|
|
|
ifeq ($(LIBEGL_DEPENDENCIES),)
|
2013-03-06 11:22:47 +01:00
|
|
|
define LIBEGL_CONFIGURE_CMDS
|
|
|
|
echo "No libEGL implementation selected. Configuration error."
|
|
|
|
exit 1
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|