how to cross compile the kernel without script


I compile and install the new kernel(3.16.2) image for my PC. And, I have installed the ARM Cross Compiler for BeagleBone Black (Rev C). Now how can i cross compile the kernel for BeagleBone Black

Thanks in Advance,
Vairamani V

make ARCH=arm CROSS_COMPILE=<your arm cross compiler> zImage modules dtbs


Robert Nelson,

  1. I have installed the ARM Cross Compiler as per your instruction given in

  1. I have compiled and installed the kernel 3.16.2. then copied the “vmlinuz-3.16.2.bin” to folder where the makefile for linux_kernel_3.16.2 contain(linux3.16.2). Now i cross compiled the kernel as you given above post. But it is return error, Is any steps i missed?

root@vairamani-pc:/home/vairamani/linux/linux-3.16.2# make ARCH=arm CROSS_COMPILE=${CC} vmlinuz-3.16.2 modules dtbs
scripts/kconfig/conf --silentoldconfig Kconfig


make ARCH=arm yourcustom_defconfig


make ARCH=arm omap2plus_defconfig
make ARCH=arm menuconfig

But, that's kind of an obvious step, for a kernel developer... Maybe
you should just use the "script" as that does everything for you...