kumquat-buildroot/package/mali-t76x/mali-t76x.mk
Ariel D'Alessandro 536ba133b0 mali-t76x: add new package
Package provides the binary user-space components for the ARM Mali
Midgard T76X GPU.

Note that this package requires a kernel with the ARM Mali Midgard GPU
Kernel Drivers enabled.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-02-20 10:22:33 +01:00

28 lines
858 B
Makefile

################################################################################
#
# mali-t76x
#
################################################################################
MALI_T76X_VERSION = r5p0-06rel0
MALI_T76X_SOURCE = mali-t76x_$(MALI_T76X_VERSION)_linux_1+fbdev.tar.gz
MALI_T76X_SITE = http://malideveloper.arm.com/downloads/drivers/binary/$(MALI_T76X_VERSION)
MALI_T76X_INSTALL_STAGING = YES
MALI_T76X_PROVIDES = libegl libgles
define MALI_T76X_INSTALL_STAGING_CMDS
$(INSTALL) -m 755 $(@D)/*.so $(STAGING_DIR)/usr/lib/
$(INSTALL) -D -m 0644 package/mali-t76x/egl.pc \
$(STAGING_DIR)/usr/lib/pkgconfig/egl.pc
$(INSTALL) -D -m 0644 package/mali-t76x/glesv2.pc \
$(STAGING_DIR)/usr/lib/pkgconfig/glesv2.pc
endef
define MALI_T76X_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 $(@D)/*.so $(TARGET_DIR)/usr/lib/
endef
$(eval $(generic-package))