Force rebuild to regenerate .ko
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
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: [email protected] <[email protected]> on behalf of Raymond Yeung <[email protected]>
Sent: Friday, 12 October 2018 6:29:44
To: [email protected]
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
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 <[email protected]>
Sent: Saturday, October 13, 2018 2:01 AM
To: Raymond Yeung; [email protected]
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: [email protected] <[email protected]> on behalf of Raymond Yeung <[email protected]>
Sent: Friday, 12 October 2018 6:29:44
To: [email protected]
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