[oe-commits] Stefan Schmidt : linux-palmpre: Override LOCALVERSION again to stay close to the original palm version
git version control
git at git.openembedded.org
Wed Oct 14 20:34:59 UTC 2009
Module: openembedded.git
Branch: shr/merge
Commit: 129da538fba3c464c6377ce488d3ba0c146e512b
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=129da538fba3c464c6377ce488d3ba0c146e512b
Author: Stefan Schmidt <stefan at datenfreihafen.org>
Date: Wed Oct 14 20:24:18 2009 +0000
linux-palmpre: Override LOCALVERSION again to stay close to the original palm version
---
recipes/linux/linux-palmpre_2.6.24.bb | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/recipes/linux/linux-palmpre_2.6.24.bb b/recipes/linux/linux-palmpre_2.6.24.bb
index 9d5bc20..7a52d6e 100644
--- a/recipes/linux/linux-palmpre_2.6.24.bb
+++ b/recipes/linux/linux-palmpre_2.6.24.bb
@@ -13,3 +13,9 @@ S = "${WORKDIR}/linux-2.6.24"
do_configure_prepend() {
install -m 0644 ${S}/arch/arm/configs/omap_sirloin_3430_defconfig ${WORKDIR}/defconfig
}
+
+# linux.inc overrides LOCAVERSION but we like to stay with the one used originally
+do_compile_prepend() {
+ sed -i -e '/CONFIG_LOCALVERSION=/d' ${S}/.config
+ echo 'CONFIG_LOCALVERSION="-joplin-3430"' >>${S}/.config
+}
More information about the Openembedded-commits
mailing list