summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus Ainslie <angus.ainslie@linaro.org>2011-09-26 11:19:44 -0600
committerTushar Behera <tushar.behera@linaro.org>2012-12-13 14:53:55 +0530
commit60bca1f6e10139cec94063740bb6f115b16c8995 (patch)
tree05c40c3bc4b8516b4dddfa35abc61b69002f49e5
parent6bbde20f2acecd109be026a9b01f12697628ea26 (diff)
downloadlinux-topics-60bca1f6e10139cec94063740bb6f115b16c8995.tar.gz
Fix building mali driver with make O= option
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>
-rwxr-xr-xdrivers/gpu/arm/mali/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/arm/mali/Makefile b/drivers/gpu/arm/mali/Makefile
index 47a147dd608..84817064db0 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