git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9678dab
)
linux.inc: add hook to set a custom localversion
author
Koen Kooi
<koen@openembedded.org>
Fri, 31 Dec 2010 09:50:54 +0000
(10:50 +0100)
committer
Koen Kooi
<koen@openembedded.org>
Fri, 31 Dec 2010 09:50:54 +0000
(10:50 +0100)
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/linux/linux.inc
patch
|
blob
|
history
diff --git
a/recipes/linux/linux.inc
b/recipes/linux/linux.inc
index
658fe84
..
2243a65
100644
(file)
--- 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
#