diff options
author | He Zhe <zhe.he@windriver.com> | 2014-10-21 17:47:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-31 10:18:23 +0000 |
commit | a6f13fe42f4d212748a3b6db6a75432b1b5c7dd9 (patch) | |
tree | 91e8e240eccb9ec979862abcf5339dce2a9d4555 /meta/recipes-extended/cpio/cpio_2.8.bb | |
parent | e8404413fe904a289f7db1f41856dcc954866152 (diff) | |
download | poky-a6f13fe42f4d212748a3b6db6a75432b1b5c7dd9.tar.gz |
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.
(From OE-Core rev: f2f72f8ff623d24fffbb1b0ad40bc08f05ff31dd)
(From OE-Core rev: a3dae5c091017827a293affbb8ade179a23efd6d)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cpio/cpio_2.8.bb')
0 files changed, 0 insertions, 0 deletions