]> code.ossystems Code Review - openembedded-core.git/commit
module.bbclass: Add KERNEL_SRC in EXTRA_OEMAKE
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 15 Jan 2015 11:54:13 +0000 (11:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Jan 2015 09:13:01 +0000 (09:13 +0000)
commitbc0f58f0713ea7db3c4c24a7d321435934d745d7
tree9c2955413f4db597260c01ee45768620500df022
parentadf32ca3d0657cb5d363ae7a3fdb539c6627cf39
module.bbclass: Add KERNEL_SRC in EXTRA_OEMAKE

When the sstate hash changes for do_configure task, the do_configure
default implementation triggers the 'clean' to be run. For it to
succeed we need to have KERNEL_SRC defined in EXTRA_OEMAKE. Fixes
following error:

,----
| DEBUG: Executing shell function do_configure
| NOTE: make -e MAKEFLAGS= clean
| make -C  M=.../tmp/work/... clean
| make[1]: *** M=.../tmp/work/...: No such file or directory.  Stop.
| Makefile:20: recipe for target 'clean' failed
| make: *** [clean] Error 2
| ERROR: oe_runmake failed
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/module.bbclass