summaryrefslogtreecommitdiff
path: root/drivers
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-09-26 11:39:55 +0530
commit8a82d74f597e69fec9628a55f3c7cc798364b475 (patch)
treea9952ba4e4be1a99686e28ddc69fc32be2cd0a3a /drivers
parent042b7edc351e135959dcc314562f01b31d5acab8 (diff)
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>
Diffstat (limited to 'drivers')
-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 47a147dd608d..84817064db04 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