Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crosscompile driver? #8

Open
BennyBread opened this issue Jun 18, 2014 · 1 comment
Open

Crosscompile driver? #8

BennyBread opened this issue Jun 18, 2014 · 1 comment

Comments

@BennyBread
Copy link

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

@nxdefiant
Copy link

Old, but try something like

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants