From 2e595c015226a61e0231c5bea167ceadf417dd05 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 1 Dec 2016 15:43:17 +0100 Subject: linux-toradex_3.10.40: keep cwd in do configure and set version string Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-kernel/linux/linux-toradex_3.10.40.bb | 6 +++--- 1 file 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 } -- cgit v1.2.3