> On 12 Jan 2024, at 09:08, ashujoshi35 via Lists.Yoctoproject.Org > <ashujoshi35=gmail....@lists.yoctoproject.org> wrote: > > Sorry, will not be able to share entire recipe file but make file is open > source, I am just trying to call it from recipe. > make file path : https://github.com/wirepas/gateway/tree/master/sink_service > > Ideally it should not be broken. Issue seems to be more from point that > somehow make file is not generating image for target, rather it is doing for > host only. Seems it is failing to cross compile.
The makefiles are hand written and therefore it’s wise to assume that they’re broken by design: writing a proper makefile is harder than people think. Check the compile log, it should be calling the cross compiler and passing —sysroot, if it’s just running “gcc” then your recipe needs to force the makefiles to do the right thing. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62135): https://lists.yoctoproject.org/g/yocto/message/62135 Mute This Topic: https://lists.yoctoproject.org/mt/77141718/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-