]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: Make task clean depend on cleaning of make-mod-scripts
authorHaiqing Bai <Haiqing.Bai@windriver.com>
Tue, 11 Jun 2019 01:47:52 +0000 (09:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Jun 2019 12:26:50 +0000 (13:26 +0100)
commitf79c95f6a883e999e0c2ecfd60b6b696b7595497
treea69fe9bda1f2cb8718de7acc34d15baf10885988
parent13cc0f7c0bd98ea228e9bdf51043117d38837ce7
kernel.bbclass: Make task clean depend on cleaning of make-mod-scripts

The package 'make-mod-scripts' creates files in 'kernel-build-artifacts/include/config'
which are removed by 'cleanall/cleansstate' of 'virtual/kernel'. And this causes the
below error while building out of tree kernel module:
ERROR: Kernel configuration is invalid.
      include/generated/autoconf.h or include/config/auto.conf are missing.
      Run 'make oldconfig && make prepare' on kernel src to fix it.

Suggested-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass