missing include cflag on armada_trace

Message ID CAKdteOYr4cSEQ8vRgSrP6+no7ZUGeNcGj09EQiPki0omxCc73Q@mail.gmail.com
State New
Headers show

Commit Message

Christophe Lyon Jan. 9, 2017, 9:19 p.m.
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:


Thanks,

Christophe

Patch hide | download patch | download mbox

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)