]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: Create modules directory even if there is no modules installed
authorHe Zhe <zhe.he@windriver.com>
Tue, 21 Oct 2014 09:47:44 +0000 (17:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Oct 2014 16:31:58 +0000 (17:31 +0100)
commitf2f72f8ff623d24fffbb1b0ad40bc08f05ff31dd
treef7344dea32d3cacbafcfb7b7f843e12813b48a4c
parent643597a5c432b2e02033d0cefa3ba4da980d078f
kernel.bbclass: Create modules directory even if there is no modules installed

During kernel_do_install it needs to make symbol link at
${D}/lib/modules/${KERNEL_VERSION}/build, but there will not be
${D}/lib/modules/${KERNEL_VERSION} if there is no modules installed for current
image, which will result in a build failure.
Add "mkdir -p ${D}/lib/modules/${KERNEL_VERSION}" here to avoid this failure
and the need of similar changes in other scripts that also expect it to exist.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel.bbclass