I am new to raspberry pi. I recently bought "Raspbery PI 2 Model B V1.2." I am trying to build custom kernel for it. I want kernel 3.10.17 or any kernel below 3.13 on my PI. I tried downloading the kernel from "https://github.com/raspberrypi/linux" and also from kernel.org, when I try cross compiling them it gives me the below error,
make: *** [kernel/bounds.s] Error 1
Makefile:835: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2.
I don't get this error when i compile any kernel version above 4.*.
The steps i followed were,
1.wget to get the source
2.cd to source file
3.make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- bcm2835_defconfig
4.make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
Thanks In advance.