Bump buildroot to 2019.02
This commit is contained in:
25
bsp/buildroot/package/sunxi-mali-mainline-driver/Config.in
Normal file
25
bsp/buildroot/package/sunxi-mali-mainline-driver/Config.in
Normal file
@@ -0,0 +1,25 @@
|
||||
comment "sunxi-mali-mainline-driver needs a Linux kernel to be built"
|
||||
depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
config BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER
|
||||
bool "sunxi-mali-mainline-driver"
|
||||
default y
|
||||
depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE # runtime
|
||||
depends on BR2_LINUX_KERNEL
|
||||
select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
|
||||
help
|
||||
This package builds and installs the Linux kernel driver for
|
||||
the Mali GPU on Allwinner platforms, compatible with recent
|
||||
Linux kernels (>= 4.4). Note that it should be installed
|
||||
together with the corresponding userspace OpenGL libraries,
|
||||
which are provided as binaries only at:
|
||||
https://github.com/bootlin/mali-blobs
|
||||
|
||||
sunxi-mali-mainline-driver requires a Linux kernel >= 4.4
|
||||
with the following options enabled:
|
||||
|
||||
- CONFIG_CMA
|
||||
- CONFIG_DMA_CMA
|
||||
|
||||
https://github.com/mripard/sunxi-mali/blob/master/README.md
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 c5f787cc498cc3e156efa70acc3fbf8dc636fba0f677aac66bdded2fda4a529d sunxi-mali-mainline-driver-e28c274f85c65ebec82cdf0f8d021895e105d917.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
|
||||
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# sunxi-mali-mainline-driver
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SUNXI_MALI_MAINLINE_DRIVER_VERSION = e28c274f85c65ebec82cdf0f8d021895e105d917
|
||||
SUNXI_MALI_MAINLINE_DRIVER_SITE = $(call github,mripard,sunxi-mali,$(SUNXI_MALI_MAINLINE_DRIVER_VERSION))
|
||||
SUNXI_MALI_MAINLINE_DRIVER_DEPENDENCIES = linux
|
||||
SUNXI_MALI_MAINLINE_DRIVER_LICENSE = GPL-2.0
|
||||
SUNXI_MALI_MAINLINE_DRIVER_LICENSE_FILES = LICENSE
|
||||
|
||||
SUNXI_MALI_MAINLINE_DRIVER_MAKE_OPTS = \
|
||||
$(LINUX_MAKE_FLAGS) \
|
||||
KDIR=$(LINUX_DIR)
|
||||
|
||||
define SUNXI_MALI_MAINLINE_DRIVER_USE_APPLY_PATCHES
|
||||
ln -sf $(SUNXI_MALI_MAINLINE_REV)/series $(@D)/patches
|
||||
$(SED) 's|quilt push -a|$(TOPDIR)/support/scripts/apply-patches.sh . ../patches|' \
|
||||
$(@D)/build.sh
|
||||
endef
|
||||
|
||||
SUNXI_MALI_MAINLINE_DRIVER_POST_PATCH_HOOKS += SUNXI_MALI_MAINLINE_DRIVER_USE_APPLY_PATCHES
|
||||
|
||||
define SUNXI_MALI_MAINLINE_DRIVER_BUILD_CMDS
|
||||
cd $(@D) && $(SUNXI_MALI_MAINLINE_DRIVER_MAKE_OPTS) \
|
||||
$(SHELL) ./build.sh -r $(SUNXI_MALI_MAINLINE_REV) -j $(PARALLEL_JOBS) -b
|
||||
endef
|
||||
|
||||
define SUNXI_MALI_MAINLINE_DRIVER_INSTALL_TARGET_CMDS
|
||||
cd $(@D) && $(SUNXI_MALI_MAINLINE_DRIVER_MAKE_OPTS) \
|
||||
$(SHELL) ./build.sh -r $(SUNXI_MALI_MAINLINE_REV) -j $(PARALLEL_JOBS) -i
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user