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-mainline_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-kernel/linux/linux-toradex-mainline_4.9.bb') diff --git a/recipes-kernel/linux/linux-toradex-mainline_4.9.bb b/recipes-kernel/linux/linux-toradex-mainline_4.9.bb index f0ff5fe..b04f29a 100644 --- a/recipes-kernel/linux/linux-toradex-mainline_4.9.bb +++ b/recipes-kernel/linux/linux-toradex-mainline_4.9.bb @@ -39,7 +39,7 @@ config_script () { } do_configure_prepend () { - pushd ${S} + cd ${S} export KBUILD_OUTPUT=${B} oe_runmake ${KERNEL_DEFCONFIG} @@ -50,7 +50,7 @@ do_configure_prepend () { sed -i -e /CONFIG_LOCALVERSION/d ${B}/.config echo "CONFIG_LOCALVERSION=\"${LOCALVERSION}\"" >> ${B}/.config - popd + cd - > /dev/null } do_uboot_mkimage_prepend() { -- cgit v1.2.3