[Buildroot] kernel module from BR2_EXTERNAL-layer does not build automatically

Sven Oliver Moll buildroot at svol.li
Sat Nov 14 15:10:37 UTC 2020


On Sat, 14 Nov 2020, Peter Korsgaard wrote:

>>>>>> "Sven" == Sven Oliver Moll <buildroot at svol.li> writes:
>
> > Hello,
> > for a private project, I have implemented a kernel module as a package
> > in a BR2_EXTERNAL-defined layer. It's rather simple as
> > lttng-modules. When I build it using "make kernel-package", it gets
> > installed in target/... just fine, but if I make a clean build, the
> > package will not be compiled and not be installed almost like it's not
> > selected in .config at all, even though it is.
>
> > Any idea what's causing this, and how I could workaround this problem?
> > It happens on 2020.02.6 as well as 2020.08. Even a hint on what to
> > investigage would help.
>
> It sounds like the variable in your Config.in file doesn't match the
> directory/filename of the .mk file, but it is hard to tell without more
> details.

That was it. Thanks. I was struggling with a typo in the .mk file, and never 
double checked if the typo was carried over from/to the Config.in file. Now
everything works.


Thanks,
SvOlli
-- 
|  _______       |
| (  /\          | Wow, I must be tired -- I just turned on the television, and
|__)v\/lli a.k.a.| MTV is actually moving too fast for me to understand it.
|Sven Oliver Moll|   -- Jamie Zawinski


More information about the buildroot mailing list