[patch] missing include cflag on armada_trace
From: Christophe Lyon
Date: Mon Jan 09 2017 - 16:19:51 EST
Hi,
While compiler the kernel for arm with allmodconfig,
I noticed a failure because armada's Makefile is
missing an include CFLAG.
The small patch below fixes the problem:
diff --git a/drivers/gpu/drm/armada/Makefile b/drivers/gpu/drm/armada/Makefile
index a18f156..64c0b45 100644
--- a/drivers/gpu/drm/armada/Makefile
+++ b/drivers/gpu/drm/armada/Makefile
@@ -4,3 +4,5 @@ armada-y += armada_510.o
armada-$(CONFIG_DEBUG_FS) += armada_debugfs.o
obj-$(CONFIG_DRM_ARMADA) := armada.o
+
+CFLAGS_armada_trace.o := -I$(src)
Thanks,
Christophe