|
@ -12,6 +12,9 @@ HD6X_MALI_DRIVERS_SITE = https://developer.arm.com/-/media/Files/downloads/mali- |
|
|
HD6X_MALI_DEPENDENCIES = kernel-$(BOXTYPE) hd6x-libgles-headers |
|
|
HD6X_MALI_DEPENDENCIES = kernel-$(BOXTYPE) hd6x-libgles-headers |
|
|
|
|
|
|
|
|
HD6X_MALI_DRIVERS_MAKE_OPTS = \
|
|
|
HD6X_MALI_DRIVERS_MAKE_OPTS = \
|
|
|
|
|
|
-C $(KERNEL_OBJ_DIR) |
|
|
|
|
|
|
|
|
|
|
|
HD6X_MALI_DRIVERS_MAKE_OPTS += \
|
|
|
M=$(BUILD_DIR)/$(HD6X_MALI_DRIVERS_DIR)/driver/src/devicedrv/mali \
|
|
|
M=$(BUILD_DIR)/$(HD6X_MALI_DRIVERS_DIR)/driver/src/devicedrv/mali \
|
|
|
EXTRA_CFLAGS="-DCONFIG_MALI_DVFS=y -DCONFIG_GPU_AVS_ENABLE=y" \
|
|
|
EXTRA_CFLAGS="-DCONFIG_MALI_DVFS=y -DCONFIG_GPU_AVS_ENABLE=y" \
|
|
|
CONFIG_MALI_SHARED_INTERRUPTS=y \
|
|
|
CONFIG_MALI_SHARED_INTERRUPTS=y \
|
|
@ -20,14 +23,5 @@ HD6X_MALI_DRIVERS_MAKE_OPTS = \ |
|
|
CONFIG_MALI_DVFS=y \
|
|
|
CONFIG_MALI_DVFS=y \
|
|
|
CONFIG_GPU_AVS_ENABLE=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) |
|
|
hd6x-mali-drivers: | $(TARGET_DIR) |
|
|
$(call PREPARE) |
|
|
$(call kernel-module) |
|
|
$(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) |
|
|
|
|
|