During the kernel (4.14.55-146 tag) build, I get the error:
../drivers/gator/gator_events_mali_midgard.c:25:10: fatal error: linux/mali_linux_trace.h: No such file or directory
#include "linux/mali_linux_trace.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
If I modify the kernel config with CONFIG_GATOR=n, the kernel builds (and works) correctly – although, presumably without gator support.
One point is that my source tree for this failing build does have the file drivers/gpu/arm/midgard/mali_linux_trace.h. Looking at the source, my best guess is that MALI_DIR_MIDGARD hasn't been defined when it should be, so that #ifdef at line 20 steers us the wrong way.
During the kernel (
4.14.55-146
tag) build, I get the error:If I modify the kernel config with
CONFIG_GATOR=n
, the kernel builds (and works) correctly – although, presumably without gator support.One point is that my source tree for this failing build does have the file
drivers/gpu/arm/midgard/mali_linux_trace.h
. Looking at the source, my best guess is thatMALI_DIR_MIDGARD
hasn't been defined when it should be, so that#ifdef
at line 20 steers us the wrong way.