Excerpts from Bruce Ashfield's message of 2020-04-22 13:40:33 -04:00:
> Are you seeing this on master, or some other branch ?

Unfortunately we are still on Warrior, and I can't easily test any newer 
branches right now.

> I can run the following on master, as often as I like:
> 
> % bitbake linux-yocto hello-mod -c clean; bitbake hello-mod -c install
> 
> And I see the required scripts coming and going from the build
> artifacts as expected:
> 
> build [/home/bruc...-artifacts]> find . -name 'fixdep'
> ./tools/objtool/fixdep
> ./scripts/basic/fixdep
> 
> # after the clean:
> build [/home/bruc...-artifacts]> find . -name 'fixdep'
> 
> # after the install
> build [/home/bruc...-artifacts]> cd ..
> build [/home/bruc...qemux86-64]> cd -
> /home/bruce/poky/build/tmp/work-shared/qemux86-64/kernel-build-artifacts
> build [/home/bruc...-artifacts]> find . -name 'fixdep'
> ./tools/objtool/fixdep
> ./scripts/basic/fixdep

Okay, that's interesting. Thanks for testing it.

When you do install on the module, does Bitbake somehow know it must 
also re-run make-mod-scripts:do_compile, or is fixdep getting put into 
the kernel-build-artifacts directory by something else?

> Is there something different with your module recipe than the one in
> meta-skeleton ? Can you share it, so I can debug further ?

We see this with all our out-of-tree kernel module recipes and they are 
all pretty ordinary, just using module.bbclass. Maybe there is something 
strange we have done with our kernel recipe which is causing it.

I can't share the entire layer but here is an example of one of the 
module recipes:

https://gist.github.com/danc86/09143b04f43e47f99ae91bbdee53bf2f

I'll just paste the entire thing here too since it is so short:

SUMMARY = "nct5104d watchdog driver"
DESCRIPTION = "Linux driver for NCT5104D watchdog function"
HOMEPAGE = "https://github.com/opengear/nct5104d-watchdog-driver";
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = 
"git://github.com/opengear/nct5104d-watchdog-driver.git;protocol=https;"
SRCREV = "5495f4eaa15bb0b8804778df046f5276d66413ce"
PR = "r1"
S = "${WORKDIR}/git"

inherit module

-- 
Dan Callaghan <[email protected]>
Software Engineer
Opengear <https://opengear.com/>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#137439): 
https://lists.openembedded.org/g/openembedded-core/message/137439
Mute This Topic: https://lists.openembedded.org/mt/73168943/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to