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:
parent
babd5bdadb
commit
f3ecd9ea4a
@ -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"
|
||||
|
14
package/mali-driver/Config.in
Normal file
14
package/mali-driver/Config.in
Normal 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.
|
3
package/mali-driver/mali-driver.hash
Normal file
3
package/mali-driver/mali-driver.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 76464e5ed55e9d21062cf154733ce61217211172629ec8742af902607f14d41a mali-driver-a742530232d1de41b57465744a1259fa6c35049e.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
|
15
package/mali-driver/mali-driver.mk
Normal file
15
package/mali-driver/mali-driver.mk
Normal 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))
|
Loading…
Reference in New Issue
Block a user