Re: Cross compiling linux-gpib for Raspbian
Frank Mori Hess <[email protected]>
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <CAJz5OpfdZKLu59keSuJHH2nLci=m8SzZX3Ko1U8mkQ=vm71=vg@mail.gmail.com> |
On Wed, Nov 7, 2018 at 11:11 AM dave penkler <[email protected]> wrote: > 2: Set the environment variables for cross compilation > >> export CROSS_COMPILE=arm-linux-gnueabihf- >> export ARCH=arm >> export CC=arm-linux-gnueabihf-gcc > I intended to setup these environment variables based on the configure options like --host but never got around to it. Also, ignoring all the configure stuff and just doing a standard external module build almost works if your kernel doesn't need the gpib kernel version compatibility headers. I believe a timer compatibility macro needs to get pulled out of compat/include/linux.