diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2016-12-01 15:43:17 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-11 12:03:36 +0100 |
commit | 2e595c015226a61e0231c5bea167ceadf417dd05 (patch) | |
tree | dcb7b74227b4b1b367c9546b1d5f1699b042bfee /recipes-kernel | |
parent | cf0db22dbfb5e558625f4db303a68d765bee7a99 (diff) |
linux-toradex_3.10.40: keep cwd in do configure and set version string
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-toradex_3.10.40.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-toradex_3.10.40.bb b/recipes-kernel/linux/linux-toradex_3.10.40.bb index 5d05252..7b88f4f 100644 --- a/recipes-kernel/linux/linux-toradex_3.10.40.bb +++ b/recipes-kernel/linux/linux-toradex_3.10.40.bb @@ -11,7 +11,7 @@ LINUX_VERSION ?= "3.10.40" LOCALVERSION = "-${PR}" SRCREV = "774e3704de94c329d3319c30bb2fcade9a6a8dd9" -PR = "V2.6.1b2" +PR = "V2.6.2b1" PV = "${LINUX_VERSION}+gitr${SRCREV}" S = "${WORKDIR}/git" @@ -34,7 +34,7 @@ do_configure_prepend () { #assume its called ${MACHINE}_defconfig, but with '_' instead of '-' DEFCONFIG="`echo ${MACHINE} | sed -e 's/$/_defconfig/'`" - cd ${S} + pushd ${S} export KBUILD_OUTPUT=${B} oe_runmake $DEFCONFIG @@ -48,10 +48,10 @@ do_configure_prepend () { #Add GIT revision to the local version head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null` printf "%s%s" +g $head > ${S}/.scmversion + popd } do_uboot_mkimage_prepend() { cd ${B} - mkdir -p ${B}/arch/${ARCH}/boot/ || true } |