From a352843b5d325c931caf690cb28477217ae072ea Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 16 Jul 2011 18:48:13 +0000 Subject: [PATCH] kernel.bbclass: fix spacing to reduce delta between oe-core and meta-oe (From meta-openembedded rev: d0d016e11765c7923c2bfbfeefdfc65ff39e34d5) Signed-off-by: Otavio Salvador Signed-off-by: Patrick Ohly --- meta-openembedded/meta-oe/classes/kernel.bbclass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/meta-openembedded/meta-oe/classes/kernel.bbclass b/meta-openembedded/meta-oe/classes/kernel.bbclass index 8629133..f67503a 100644 --- a/meta-openembedded/meta-oe/classes/kernel.bbclass +++ b/meta-openembedded/meta-oe/classes/kernel.bbclass @@ -19,12 +19,12 @@ python __anonymous () { image = bb.data.getVar('INITRAMFS_IMAGE', d, True) if image: - bb.data.setVar('INITRAMFS_TASK', '${INITRAMFS_IMAGE}:do_rootfs', d) + bb.data.setVar('INITRAMFS_TASK', '${INITRAMFS_IMAGE}:do_rootfs', d) machine_kernel_pr = bb.data.getVar('MACHINE_KERNEL_PR', d, True) if machine_kernel_pr: - bb.data.setVar('PR', machine_kernel_pr, d) + bb.data.setVar('PR', machine_kernel_pr, d) } inherit kernel-arch deploy @@ -189,11 +189,10 @@ kernel_do_configure() { if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then cp "${WORKDIR}/defconfig" "${B}/.config" fi - - yes '' | oe_runmake oldconfig + yes '' | oe_runmake oldconfig if [ ! -z "${INITRAMFS_IMAGE}" ]; then - for img in cpio.gz cpio.lzo cpio.lzma cpio.xz ; do + for img in cpio.gz cpio.lzo cpio.lzma cpio.xz; do if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" ]; then cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" initramfs.$img fi -- 2.7.4