diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-01-26 19:07:22 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-04-07 12:09:11 +0200 |
commit | c724da634301598ba36acb7ae1933b5caf7184a8 (patch) | |
tree | b60787963cbf3d5ad01fb20071b71eff83dfb9d3 /recipes-kernel/linux/linux-toradex_git.bb | |
parent | e04e355523a00c5d6b2872b2398144f54b667381 (diff) |
linux: remove bashism from do_configure
pushd and popd are not posix compliant.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex_git.bb')
-rw-r--r-- | recipes-kernel/linux/linux-toradex_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
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 () { |