You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
33 lines
1.2 KiB
################################################################################
|
|
#
|
|
# hd6x-mali-drivers
|
|
#
|
|
################################################################################
|
|
|
|
HD6X_MALI_DRIVERS_VERSION = DX910-SW-99002-r7p0-00rel0
|
|
HD6X_MALI_DRIVERS_DIR = $(HD6X_MALI_DRIVERS_VERSION)
|
|
HD6X_MALI_DRIVERS_SOURCE = $(HD6X_MALI_DRIVERS_VERSION).tgz
|
|
HD6X_MALI_DRIVERS_SITE = https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-utgard-gpu
|
|
|
|
HD6X_MALI_DEPENDENCIES = kernel-$(BOXTYPE) hd6x-libgles-headers
|
|
|
|
HD6X_MALI_DRIVERS_MAKE_OPTS = \
|
|
M=$(BUILD_DIR)/$(HD6X_MALI_DRIVERS_DIR)/driver/src/devicedrv/mali \
|
|
EXTRA_CFLAGS="-DCONFIG_MALI_DVFS=y -DCONFIG_GPU_AVS_ENABLE=y" \
|
|
CONFIG_MALI_SHARED_INTERRUPTS=y \
|
|
CONFIG_MALI400=m \
|
|
CONFIG_MALI450=y \
|
|
CONFIG_MALI_DVFS=y \
|
|
CONFIG_GPU_AVS_ENABLE=y
|
|
|
|
define HD6X_MALI_DRIVERS_RUN_DEPMOD
|
|
$(LINUX_RUN_DEPMOD)
|
|
endef
|
|
HD6X_MALI_DRIVERS_TARGET_FINALIZE_HOOKS += HD6X_MALI_DRIVERS_RUN_DEPMOD
|
|
|
|
hd6x-mali-drivers: | $(TARGET_DIR)
|
|
$(call PREPARE)
|
|
$(CHDIR)/$($(PKG)_DIR); \
|
|
$(MAKE) -C $(KERNEL_OBJ_DIR) $(KERNEL_MAKE_VARS) $($(PKG)_MAKE_OPTS); \
|
|
$(MAKE) -C $(KERNEL_OBJ_DIR) $(KERNEL_MAKE_VARS) $($(PKG)_MAKE_OPTS) INSTALL_MOD_PATH=$(TARGET_DIR) modules_install
|
|
$(call TARGET_FOLLOWUP)
|
|
|