rfm12b-linux icon indicating copy to clipboard operation
rfm12b-linux copied to clipboard

Crosscompile driver?

Open BennyBread opened this issue 10 years ago • 1 comments

Hi, how is it possible to cross compile the kernel driver on an linux machine for BBB?

Maybee a howto would be good inside readme.

(This is because I don't want to blow up my sd card with the kernel headers and all the build stuff. I want to do this offline)

A quick hint would be fine.

Regards, Benny

BennyBread avatar Jun 18 '14 14:06 BennyBread

Old, but try something like

make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm -C /path/to/your/linux-kernel-src M=$(pwd) modules

nxdefiant avatar Feb 29 '16 07:02 nxdefiant