From d400e8258f359150f90cd8eb1652f5f18d6baa9d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 31 Dec 2010 10:50:54 +0100 Subject: linux.inc: add hook to set a custom localversion Signed-off-by: Koen Kooi --- recipes/linux/linux.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes') 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 # -- cgit 1.2.3-korg