Cross compiling from OSX section in elinux.org maybe wrong
Posted: Wed Feb 26, 2014 1:37 am
It says Complete script requires raspberrypi.config to be in the same folder that you execute from
http://elinux.org/RPi_Kernel_Compilatio ... nel_source
#Make a case sensitive 3gb disk image, raspberrypi-kernel, and attach it
hdiutil create -size 10g -type SPARSEBUNDLE -nospotlight -volname raspberrypi-kernel -fs "Case-sensitive Journaled HFS+" -attach ./raspberrypi-kernel.dmg
cp raspberrypi.config /Volumes/raspberrypi-kernel/
mkdir /Volumes/raspberrypi-kernel/src
cd /Volumes/raspberrypi-kernel/src
======================================================================
That Scriot won't work because it's creating volume on the Raspberry Pi. It says secpificailly this is for crossing-compiling on a mac for Raspberry Pi. That script won't run on a Mac for sure.
http://elinux.org/RPi_Kernel_Compilatio ... nel_source
#Make a case sensitive 3gb disk image, raspberrypi-kernel, and attach it
hdiutil create -size 10g -type SPARSEBUNDLE -nospotlight -volname raspberrypi-kernel -fs "Case-sensitive Journaled HFS+" -attach ./raspberrypi-kernel.dmg
cp raspberrypi.config /Volumes/raspberrypi-kernel/
mkdir /Volumes/raspberrypi-kernel/src
cd /Volumes/raspberrypi-kernel/src
======================================================================
That Scriot won't work because it's creating volume on the Raspberry Pi. It says secpificailly this is for crossing-compiling on a mac for Raspberry Pi. That script won't run on a Mac for sure.