I'm running Fedora 20 64-bit and have installed the relevant packages from this post:
I'm using this guide to build the kernel:
However no matter what toolchain I use, I get the following error:
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0, from arch/arm/mach-msm/perf_trace_counters.c:14: include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory compilation terminated. make: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1 make: *** Waiting for unfinished jobs.... CC kernel/exec_domain.o make: *** [arch/arm/mach-msm] Error 2 make: *** Waiting for unfinished jobs....
Update: Never mind, I copied arch/arm/mach-msm/perf_trace_counters.h to include/trace/ and it worked.
Feels like a bit of a hack and I probably did something wrong, but it compiled and I have a zImage - now to see if it will boot.