On Fri, Mar 15, 2019 at 10:23 AM Burton, Ross <ross.bur...@intel.com> wrote:

> On Fri, 15 Mar 2019 at 17:00, Derek Dresser <dresser....@gmail.com> wrote:
> > | gcc -fPIC   -c -g -MMD -MP -MF build/Debug/GNU-Linux-x86/hid.o.d -o
> build/Debug/GNU-Linux-x86/hid.o hid.c
>
> 'gcc' isn't a cross compiler, and it isn't using the sysroot flags.
>
> The problem with people writing their own makefiles is that they think
> it's easy, but it isn't.  You'll have to figure out why the maze of
> Makefiles in that project don't respect CC/CPPFLAGS/CFLAGS/LDFLAGS
> that are exported into the environment.
>

You might want to consider a different driver:

https://archive.fosdem.org/2018/schedule/event/rapid_spi_over_usb/attachments/audio/2461/export/events/attachments/rapid_spi_over_usb/audio/2461/USB_SPI_FOSDEM_2018.pdf


> Ross
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to