Depending on where your kernel source is from you might not have the out of tree content. When unpacking from the NVIDIA-supplied source code it creates this:
└── sources
├── hardware
│ └── nvidia
└── kernel
├── kernel-4.9
├── nvgpu
└── nvidia
…where the “kernel-4.9
” is the actual kernel source. The other content is sometimes accessed if an NVIDIA feature is enabled (the feature uses files which use a relative path into those other subdirectories).
Which L4T release are you using? One of either “head -n 1 /etc/nv_tegra_release
” or "dpkg -l | grep 'nvidia-l4t-core'
will tell you which release. Then go to that release in this list of releases (you might need to go there, log in, and go there again):
https://developer.nvidia.com/linux-tegra
Within this will be " L4T Driver Package (BSP) Sources". When unpacked you will find a sources package for the kernel, and then you’d unpack that package which was in the set of packages. This has the directory tree structure listed above with “sources/
” as the first subdirectory.