I've meta-intel and poky.  I'm not sure which layer it's in, as an attempt to 
find/grep files with ixgbe in the recipes directories doesn't turn up anything. 
 The source seems to be downloaded to work-shared sub-directory during the 
bitbake process.

The .ko file is located in the following path:
tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/rootfs/lib/modules/4.4.26-yocto-standard/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko

Thanks,
Raymond


________________________________
From: Kosta Zertsekel <kzertse...@advaoptical.com>
Sent: Saturday, October 13, 2018 2:01 AM
To: Raymond Yeung; yocto@yoctoproject.org
Subject: Re: Force rebuild to regenerate .ko


Please add more details.


For example, where ixgbe.ko resides (what layer)?

If it is in Linux kernel (linux-yocto package), then just:

$ bitbake linux-yocto -c cleanall

$ bitbake linux-yocto


--- Kosta Z.


________________________________
From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf 
of Raymond Yeung <rksye...@hotmail.com>
Sent: Friday, 12 October 2018 6:29:44
To: yocto@yoctoproject.org
Subject: [yocto] Force rebuild to regenerate .ko

I've a Intel Ethernet driver, ixgbe.ko.  I made some changes (debug logs) to 
the source file.  How do I force the .ko to be regenerated within yocto 
environment, without rebuilding the entire yocto code base?

I tried to do bitbake of the image name earlier, but bitbake decides that 
there's nothing to be done.  This is even after I'd removed the cache and 
sstate directories.

Thanks,
Raymond
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to