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. Ross -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto