diff options
author | Koen Kooi <koen@openembedded.org> | 2010-12-31 10:50:54 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-12-31 10:50:54 +0100 |
commit | d400e8258f359150f90cd8eb1652f5f18d6baa9d (patch) | |
tree | 0f3940851b7501f18b36a8c0456e13c2a4a0a5e2 /recipes/linux/linux.inc | |
parent | 9678dab4692cb664bba8cb4a98dfb1e690de38d3 (diff) | |
download | openembedded-d400e8258f359150f90cd8eb1652f5f18d6baa9d.tar.gz |
linux.inc: add hook to set a custom localversion
Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/linux/linux.inc')
-rw-r--r-- | 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 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 # |