[oe-commits] Koen Kooi : linux.inc: add hook to set a custom localversion
git version control
git at git.openembedded.org
Fri Dec 31 09:53:10 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: d400e8258f359150f90cd8eb1652f5f18d6baa9d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d400e8258f359150f90cd8eb1652f5f18d6baa9d
Author: Koen Kooi <koen at openembedded.org>
Date: Fri Dec 31 10:50:54 2010 +0100
linux.inc: add hook to set a custom localversion
Signed-off-by: Koen Kooi <koen at openembedded.org>
---
recipes/linux/linux.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index 658fe84..2243a65 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
#
More information about the Openembedded-commits
mailing list