summaryrefslogtreecommitdiff
path: root/package/mali-t76x/mali-t76x.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mali-t76x/mali-t76x.mk')
-rw-r--r--package/mali-t76x/mali-t76x.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/mali-t76x/mali-t76x.mk b/package/mali-t76x/mali-t76x.mk
new file mode 100644
index 000000000..702f58395
--- /dev/null
+++ b/package/mali-t76x/mali-t76x.mk
@@ -0,0 +1,27 @@
+################################################################################
+#
+# 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))