


Note that the compilation should fail and complain about an inclusion in scripts/mod/mk_elfconfig. Save the configuration and let’s build the kernel afterwards. Make ARCH=arm CROSS_COMPILE=~/rpi/arm-cs-tools/bin/arm-none-eabi- menuconfig Grab the config file and configure the kernel: cp arch/arm/configs/bcmrpi_cutdown_defconfig. The RPi Kernel Compilation mkdir ~/rpi/kernel PREFIX=$HOME/rpi/arm-cs-tools make install-crossĮcho “export PATH=$HOME/rpi/arm-cs-tools/bin:$PATH” » ~/.bash_profile The Cross-Compiling Tool for the ARM architecture.Īssuming one already have the latest Xcode and command line tools from Apple Developer and homebrew installed, then should install the dependencies: brew install mpfr gmp libmpc libelf texinfo.A Cross-Compiling Tool for the CPU architecture of RPi.To set up an emulated environment of the Raspberry Pi software on OSX one will need:
