##### COMPILE Linkstation LS-CHLv2 Kernel ### >= 3.6: make menuconfig make zImage modules make kirkwood-lschlv2.dtb cat arch/arm/boot/zImage arch/arm/boot/kirkwood-lschlv2.dtb > arch/arm/boot/zImage_w_dtb mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'Linux-3.0' -d arch/arm/boot/zImage_w_dtb arch/arm/boot/uImage ### < 3.6: patch -Np1 -i lschlv2.patch make menuconfig make uImage modules ### CROSS on debian # replace make commands with: ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j3 ... ##### INSTALL kernel: arch/arm/boot/uImage make modules_install #or for an other path: make modules_install INSTALL_MOD_PATH=blah