package/mali-driver: new package

Add a new package to build and install the Mali kernel driver for
Midgard and Bifrost GPU.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Miquel Raynal 2020-03-06 08:14:37 +01:00 committed by Thomas Petazzoni
parent babd5bdadb
commit f3ecd9ea4a
4 changed files with 33 additions and 0 deletions

View File

@ -512,6 +512,7 @@ endmenu
source "package/lsuio/Config.in"
source "package/luksmeta/Config.in"
source "package/lvm2/Config.in"
source "package/mali-driver/Config.in"
source "package/mali-t76x/Config.in"
source "package/mbpfan/Config.in"
source "package/mdadm/Config.in"

View File

@ -0,0 +1,14 @@
comment "mali-driver needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_MALI_DRIVER
bool "mali-driver"
depends on BR2_LINUX_KERNEL
help
This package builds and installs the Linux kernel driver for
the Mali Midgard/Bifrost GPU, compatible with recent Linux
kernels (>= 5.4). Note that it should be installed together
with the corresponding userspace OpenGL libraries, which are
usually provided as binaries only by hardware vendors.
mali-driver requires a Linux kernel >= 5.4.

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 76464e5ed55e9d21062cf154733ce61217211172629ec8742af902607f14d41a mali-driver-a742530232d1de41b57465744a1259fa6c35049e.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE

View File

@ -0,0 +1,15 @@
################################################################################
#
# mali-driver
#
################################################################################
MALI_DRIVER_VERSION = a742530232d1de41b57465744a1259fa6c35049e
MALI_DRIVER_SITE = $(call github,bootlin,mali-driver,$(MALI_DRIVER_VERSION))
MALI_DRIVER_DEPENDENCIES = linux
MALI_DRIVER_LICENSE = GPL-2.0
MALI_DRIVER_LICENSE_FILE = LICENSE
MALI_DRIVER_MODULE_SUBDIRS = r8p0/drivers/gpu/arm/midgard
$(eval $(kernel-module))
$(eval $(generic-package))