]> code.ossystems Code Review - openembedded-core.git/commit
module.bbclass: add lock to prevent error bulding ext modules
authorAnders Darander <anders@chargestorm.se>
Wed, 19 Oct 2011 11:15:19 +0000 (13:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:27:08 +0000 (16:27 +0000)
commit694e3016e25dff3f573291830d79982c8b8793a2
tree82aa6cb1573baa6103ad5f726be60e33538919f8
parent446767c4c471b8ec932698a23af5a815d326a0be
module.bbclass: add lock to prevent error bulding ext modules

When external modules are built, files in $STAGING_KERNEL_DIR/scripts/basic will/can get
rebuilt.
This raises a potential race condition. Prevent this by adding a lock around the
do_make_scripts() function. Further, make sure that the kernel has been installed
to the sysroot, prior to executing this new task.

(From OE-Core rev: 8681b82e8b466929205edde7ba479f3ac1a6143e)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/module.bbclass