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

Peter Korsgaard peter at korsgaard.com
Sat Nov 14 13:29:31 UTC 2020


>>>>> "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.

Can you paste your Config.in / kernel-package.mk files?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list