[yocto] Problem genrerating module autoloading commands

Paul Eggleton paul.eggleton at linux.intel.com
Thu Oct 18 08:33:38 PDT 2012


On Thursday 18 October 2012 11:29:58 Marc Ferland wrote:
> Martin Jansa <martin.jansa at gmail.com> writes:
> > On Thu, Oct 18, 2012 at 11:13:13AM -0400, Marc Ferland wrote:
> >> Hi,
> >> 
> >> I'm having trouble generating the module auto-loading instructions in
> >> /etc for one of my modules. I have already many modules that all work
> >> fine, but for some reason this one does not get listed in /etc/modules
> >> nor /etc/modules-load.d.
> >> 
> >> The only thing that distinguishes this module from the other ones is that
> >> it has the same name has the MACHINE and layer. So basically I have
> >> something like:
> >> 
> >> build/conf/local.conf:
> >> MACHINE = foo
> >> 
> >> poky/meta-foo/conf/machine/foo.conf:
> >> module_autoload_foo = "foo"
> >> 
> >> The module gets built correctly and is included in the images. Running
> >> 'modprobe foo' works as intended on the target hardware.
> >> 
> >> Did I fall in some edge case?
> > 
> > Does foo have any '-' or '_'?
> 
> No. Just lower case letters.
> Marc

I suspect this is falling foul of OVERRIDES since it matches ${MACHINE} which 
is in OVERRIDES. What the workaround would be for this I'm not sure.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list