summaryrefslogtreecommitdiff
path: root/drivers/gpu/mali/Makefile
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2012-06-04 19:45:31 +0800
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-06-04 19:45:31 +0800
commit5347127d7d2ccffdd5dc6af8a24010199ef86f46 (patch)
tree3ee0ee11e14308b3d71fa4c86c6fed2509bcfc3f /drivers/gpu/mali/Makefile
parent1cd04b2aba9f3b3468adf0789030240e032d8d3e (diff)
parent5bd3314357fc6ec991071e0bb2f959fb98bc881c (diff)
Merge topic branch 'mali-generic' into integration-linux-ux500
Diffstat (limited to 'drivers/gpu/mali/Makefile')
-rw-r--r--drivers/gpu/mali/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/mali/Makefile b/drivers/gpu/mali/Makefile
new file mode 100644
index 00000000000..93c95aca19a
--- /dev/null
+++ b/drivers/gpu/mali/Makefile
@@ -0,0 +1,10 @@
+MALI_SUBFOLDER := mali400ko/driver/src/devicedrv/mali
+MALIDRM_SUBFOLDER := mali400ko/x11/mali_drm/mali
+MALI_FOLDER := $(srctree)/$(src)/$(MALI_SUBFOLDER)
+ifeq ($(shell [ -d $(MALI_FOLDER) ] && echo "OK"), OK)
+obj-$(CONFIG_GPU_MALI) += $(MALI_SUBFOLDER)/
+obj-y += $(MALIDRM_SUBFOLDER)/
+else
+$(warning WARNING: mali: Could not find $(MALI_FOLDER) - mali device driver will not be built)
+obj-n += ./
+endif