From 5113c71beb1a5265e2c9ef44d216f9613e75fa7e Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Wed, 17 Aug 2016 15:33:39 +0200 Subject: [PATCH] gator: Fix out-of-tree build Fixes out-of-tree build error: In file included from ../drivers/gpu/arm/midgard/r12p0_04rel0/mali_kbase_pm.h:28:0, from ../drivers/gpu/arm/midgard/r12p0_04rel0/mali_kbase.h:49, from ../drivers/gator/gator_events_mali_midgard_hw.c:25: ../drivers/gpu/arm/midgard/r12p0_04rel0/mali_kbase_hwaccess_pm.h:30:32: fatal error: mali_kbase_pm_defs.h: No such file or directory #include ^ make[3]: *** [drivers/gator/gator_events_mali_midgard_hw.o] Error 1 Signed-off-by: Krzysztof Kozlowski Change-Id: I4ac47177425b120c556323ca9c4f0fb6a9bd5edd --- drivers/gator/mali_midgard.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gator/mali_midgard.mk b/drivers/gator/mali_midgard.mk index 8cd1689..7850693 100644 --- a/drivers/gator/mali_midgard.mk +++ b/drivers/gator/mali_midgard.mk @@ -9,7 +9,7 @@ EXTRA_CFLAGS += -DMALI_USE_UMP=1 \ -DMALI_BACKEND_KERNEL=1 \ -DMALI_NO_MALI=0 -DDK_DIR ?= . +DDK_DIR ?= $(srctree)/ ifneq ($(wildcard $(DDK_DIR)/$(subst $\",,$(CONFIG_GATOR_MALI_MIDGARD_PATH))/mali_kbase_gator_api.h),) # r5p0/Fluorine - ... -- 2.7.4