kumquat-buildroot/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk
Giulio Benetti 3da4e07ff9 package/sunxi-mali-mainline-driver: bump version
For 5.0 support.

git shortlog --invert-grep --grep travis --no-merges e28c274f85c65ebec82cdf0f8d021895e105d917..
Giulio Benetti (2):
      README: update instructions to copy libraries
      README: add arm64 build instructions

Roman Stratiienko (1):
      mali: support building against 5.0

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-03-29 17:05:01 +01:00

36 lines
1.3 KiB
Makefile

################################################################################
#
# sunxi-mali-mainline-driver
#
################################################################################
SUNXI_MALI_MAINLINE_DRIVER_VERSION = c12e16553576b050e74a8ed404cb555ce4b8e573
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))