linux-palmpre: Override LOCALVERSION again to stay close to the original palm version
authorStefan Schmidt <stefan@datenfreihafen.org>
Wed, 14 Oct 2009 20:24:18 +0000 (20:24 +0000)
committerStefan Schmidt <stefan@datenfreihafen.org>
Wed, 14 Oct 2009 20:25:23 +0000 (20:25 +0000)
recipes/linux/linux-palmpre_2.6.24.bb

index 9d5bc20..7a52d6e 100644 (file)
@@ -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
+}