aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-07-16 18:48:13 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-08-22 22:03:11 +0200
commitd0d016e11765c7923c2bfbfeefdfc65ff39e34d5 (patch)
tree2a460891b74e6d9efc14d4a4ccbec353a6ec96c7 /meta-oe/classes
parent408b046b592cdfa0b5ef84c0bf42ddaa43334fda (diff)
downloadmeta-openembedded-d0d016e11765c7923c2bfbfeefdfc65ff39e34d5.tar.gz
meta-openembedded-d0d016e11765c7923c2bfbfeefdfc65ff39e34d5.tar.bz2
meta-openembedded-d0d016e11765c7923c2bfbfeefdfc65ff39e34d5.zip
kernel.bbclass: fix spacing to reduce delta between oe-core and meta-oe
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/kernel.bbclass9
1 files changed, 4 insertions, 5 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 862913370..f67503a3b 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/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