From: Krzysztof Kozlowski Date: Wed, 17 Aug 2016 13:33:39 +0000 (+0200) Subject: gator: Fix out-of-tree build X-Git-Tag: accepted/tizen/common/20161219.151653~231 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5113c71beb1a5265e2c9ef44d216f9613e75fa7e;p=platform%2Fkernel%2Flinux-exynos.git 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 --- 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 - ...