Cross Building Linux

Just a quick note since even if is quite easy to read the Makefile sometimes you’d rather have the solution now. This is what I use for the efika images. The layout is the following: /dev/sdc1 on /mnt/efika/boot type vfat (rw) /dev/sdc2 on /mnt/efika/ type ext4 (rw) CROSS_COMPILE and INSTALL_MOD_PATH are described quite well in the linux Makefile. The former tell the configure which toolchain should be used, the latter where to install the modules, pretty easy, isn’t it? You must be careful to not forget the trailing “-” from the CROSS_COMPILE and you can avoid the trailing “/” in the INSTALL_MOD_PATH make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm menuconfig make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm uImage make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm INSTALL_MOD_PATH=/mnt/efika modules_install In this […]