Hi Thierry,

i hit a compile error with this patch:

  CC      drivers/gpu/drm/tegra/trace.o
In file included from drivers/gpu/drm/tegra/trace.h:68:0,
                 from drivers/gpu/drm/tegra/trace.c:2:
./include/trace/define_trace.h:88:43: fatal error: ./trace.h: No such file or directory
compilation terminated.
scripts/Makefile.build:311: recipe for target 'drivers/gpu/drm/tegra/trace.o' failed


On 08/22/2017 04:43 PM, Nicholas Piggin wrote:
+++ b/drivers/gpu/drm/tegra/Makefile
@@ -24,4 +24,6 @@ tegra-drm-$(CONFIG_ARCH_TEGRA_186_SOC) += \
        parker/dsi.o \
        parker/sor.o

+tegra-drm-y += trace.o
+

maybe we need this:

+++ b/drivers/gpu/drm/tegra/Makefile
@@ -19,4 +19,6 @@ tegra-drm-y := \

 tegra-drm-y += trace.o

+CFLAGS_trace.o := -I$(src)
+
 obj-$(CONFIG_DRM_TEGRA) += tegra-drm.o

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to