From c724da634301598ba36acb7ae1933b5caf7184a8 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 26 Jan 2017 19:07:22 +0100 Subject: linux: remove bashism from do_configure pushd and popd are not posix compliant. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-kernel/linux/linux-toradex_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-kernel/linux/linux-toradex_git.bb') diff --git a/recipes-kernel/linux/linux-toradex_git.bb b/recipes-kernel/linux/linux-toradex_git.bb index a4eb184..9830cd7 100644 --- a/recipes-kernel/linux/linux-toradex_git.bb +++ b/recipes-kernel/linux/linux-toradex_git.bb @@ -28,7 +28,7 @@ do_configure_prepend () { #assume its called ${MACHINE}_defconfig, but with '_' instead of '-' DEFCONFIG="`echo ${MACHINE} | sed -e 's/\-/\_/g' -e 's/$/_defconfig/'`" - pushd ${S} + cd ${S} export KBUILD_OUTPUT=${B} oe_runmake $DEFCONFIG @@ -43,7 +43,7 @@ do_configure_prepend () { head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null` printf "%s%s" +g $head > ${S}/.scmversion - popd + cd - > /dev/null } do_uboot_mkimage_prepend () { -- cgit v1.2.3