L4T R28.1 4.4.38 kernel does not compile

tried to compile directly on TX2.
One error “governor.h no such file” can be easily fixed. Other 2
“tegra210_xbar_alt.h: No such file or directory”
and
“gk20a/gk20a.h: No such file or directory”
seem to be trickier.
Tried both sources:
http://developer.download.nvidia.com/embedded/L4T/r28_Release_v1.0/BSP/source_release.tbz2
and
source_sync.sh -k tegra-l4t-r28.1
got the same result.

What did you use for your configuration? It is advisable to take a working Jetson’s “/proc/config.gz” and preserve a copy. Then use this for your starting “.config” before building.

I’ve used /proc/config.gz . fixMakeFiles.sh from buildJetsonTX2Kernel has made the fix. But thank you anyway