Hi Aravind,

On 11/29/24 7:31 AM, aravind posina via lists.yoctoproject.org wrote:
You don't often get email from posinaaravind0205=gmail....@lists.yoctoproject.org. 
Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Hello All,

I'm working on yocto to develop a layer .In that customer wants some out source 
wifi related module files . From yocto I'm tring to build the .ko files into 
the rootfs . But whenever i try to compile my recipe i'm getting some error. in 
this can can anyone help out for this one . does i get know how to do 
backporting through yocto.below i'll mention the error cases.


ERROR: backports-cypress-5.15.58-r0 do_compile: oe_runmake failed
ERROR: backports-cypress-5.15.58-r0 do_compile: 
ExecutionError('/home/phytec/sanava-kernel/yocto/build/tmp/work/phyboard_segin_imx6ul_7-phytec-linux-gnueabi/backports-cypress/5.15.58-r0/temp/run.do_compile.2980720',
 1, None, None)
ERROR: Logfile of failure stored in: 
/home/phytec/sanava-kernel/yocto/build/tmp/work/phyboard_segin_imx6ul_7-phytec-linux-gnueabi/backports-cypress/5.15.58-r0/temp/log.do_compile.2980720
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 
KERNEL_SRC=/home/phytec/sanava-kernel/yocto/build/tmp/work-shared/phyboard-segin-imx6ul-7/kernel-source
 
KLIB=/home/phytec/sanava-kernel/yocto/build/tmp/work-shared/phyboard-segin-imx6ul-7/kernel-source
 
KLIB_BUILD=/home/phytec/sanava-kernel/yocto/build/tmp/work-shared/phyboard-segin-imx6ul-7/kernel-build-artifacts
 modules

This is the command that bitbake runs for you in do_compile task to build the modules, i.e. essentially `make modules`.

| make[4]: 'conf' is up to date.
| #
| # configuration written to .config
| #
| Building backport-include/backport/autoconf.h ... done.
| make[3]: *** No rule to make target 'modules'.  Stop.

and this complains that your Makefile doesn't have a modules target, so `make modules` isn't possible.

So this is likely an issue with an improper Makefile, but without code (the makefile/tarball you want to build and the recipe) we cannot tell much more than what's there.

Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64380): https://lists.yoctoproject.org/g/yocto/message/64380
Mute This Topic: https://lists.yoctoproject.org/mt/109831107/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to