diff mbox

Fix building mali driver with make O= option

Message ID 1310755073-27803-1-git-send-email-angus.ainslie@linaro.org
State Not Applicable
Headers show

Commit Message

Angus Ainslie July 15, 2011, 6:37 p.m. UTC
When building with the make O= option some of the dependenccies
and include files can't be resolved. This patch corrects the paths
so that the files can be found.

Thsis is a patch For Chunsangs repo at :

git://git.linaro.org/people/chunsangjeong/mali.git

Signed-off-by: Angus Ainslie <angus.ainslie@linaro.org>
---
 drivers/gpu/arm/mali/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpu/arm/mali/Makefile b/drivers/gpu/arm/mali/Makefile
index 47a147d..8481706 100755
--- a/drivers/gpu/arm/mali/Makefile
+++ b/drivers/gpu/arm/mali/Makefile
@@ -10,12 +10,12 @@ 
 
 OSKOS :=linux
 FILES_PREFIX=
-MALI_FILE_PREFIX := drivers/gpu/arm/mali
+MALI_FILE_PREFIX := $(srctree)/drivers/gpu/arm/mali
 KBUILDROOT =
 
 # Add platform configuration file for Mali
 ifeq ($(CONFIG_ARCH_EXYNOS4),y)
-MACHDIR  := arch/arm/mach-exynos4
+MACHDIR  := $(srctree)/arch/arm/mach-exynos4
 MALICONFIGDIR :=$(MACHDIR)/include/mach/mali
 endif