From: Koen Kooi Date: Fri, 31 Dec 2010 09:50:54 +0000 (+0100) Subject: linux.inc: add hook to set a custom localversion X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d400e8258f359150f90cd8eb1652f5f18d6baa9d;p=openembedded.git linux.inc: add hook to set a custom localversion Signed-off-by: Koen Kooi --- diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc index 658fe848fc..2243a652e2 100644 --- a/recipes/linux/linux.inc +++ b/recipes/linux/linux.inc @@ -53,6 +53,7 @@ KERNEL_DEVICETREE_xilinx-ml507 = "arch/${ARCH}/boot/dts/virtex440-ml507.dts" KERNEL_DEVICETREE_FLAGS = "-R 8 -S 0x3000" CORTEXA8FIXUP ?= "yes" +LOCALVERSION ?= "" python __anonymous () { @@ -134,7 +135,7 @@ do_configure_prepend() { -e '/CONFIG_LOCALVERSION_AUTO/d' \ < '${WORKDIR}/defconfig' >>'${S}/.config' - echo 'CONFIG_LOCALVERSION=""' >>${S}/.config + echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >>${S}/.config echo '# CONFIG_LOCALVERSION_AUTO is not set' >>${S}/.config #