I’ve been wrestling with building the NVidia Kernel as is described in the Tegra Linux Driver Package Documents.
I’m getting as far as $ make O=$TEGRA_KERNEL_OUT zImage and this is basically throwing the following error:
$ make O=$TEGRA_KERNEL_OUT ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE CROSS32CC=$CROSS32CC zImage
Using /home/idanbeck/Downloads/L4T-24.0-Beta/Linux_for_Tegra/sources/kernel_source as source for kernel
make: `include/generated/mach-types.h’ is up to date.
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
make: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
make: *** [sub-make] Error 2
I’ve downloaded the Linaro toolchain 5.1 for the arm64 cross compiler and I’m pointing at:
$ echo $CROSS32CC
Any ideas as to what might be causing this error? Googling for the command line option I’m not finding anything. The version of arm-linux-gnueabihf-gcc is 4.8 I believe