summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2013-06-05 17:20:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-07 16:41:03 +0100
commitef9fad8fff1c413bc0eab15625f051d4e2d0a201 (patch)
treedb532fcfd9c21e4ed5c85f1c05c6cf39c0048578 /meta/classes/kernel.bbclass
parent0dc5a90b2d95ad21025769b0300390a4ff0052ac (diff)
downloadopenembedded-core-ef9fad8fff1c413bc0eab15625f051d4e2d0a201.tar.gz
openembedded-core-ef9fad8fff1c413bc0eab15625f051d4e2d0a201.tar.bz2
openembedded-core-ef9fad8fff1c413bc0eab15625f051d4e2d0a201.zip
kernel.bbclass: Fix link for modules-${MACHINE}.tgz
The modules-${MACHINE}.tgz should link to ${MODULE_TARBALL_BASE_NAME}. But now it links to an invalid file ${MODULE_TARBALL_BASE_NAME}.bin. Remove the extra .bin suffix. [YOCTO #4595] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6550615607..40a6b5b3ee 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -375,7 +375,7 @@ kernel_do_deploy() {
if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
mkdir -p ${D}/lib
tar -cvzf ${DEPLOYDIR}/${MODULE_TARBALL_BASE_NAME} -C ${D} lib
- ln -sf ${MODULE_TARBALL_BASE_NAME}.bin ${DEPLOYDIR}/${MODULE_TARBALL_SYMLINK_NAME}
+ ln -sf ${MODULE_TARBALL_BASE_NAME} ${DEPLOYDIR}/${MODULE_TARBALL_SYMLINK_NAME}
fi
ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${DEPLOYDIR}/${KERNEL_IMAGE_SYMLINK_NAME}.bin