aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-05-20 14:12:56 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2011-05-20 14:15:13 +0200
commit312423b94fe879e24a69624f921560b088b34642 (patch)
tree2b35e5d8d3e071babcac1bd1b420daf7de1361a7
parent5c428edb2517a40672668f73858c82f0dfb27b03 (diff)
downloadopenembedded-312423b94fe879e24a69624f921560b088b34642.tar.gz
linux-openmoko: search for mtdutils in sbinding
* newer mtdutils are not using bindir * fixes http://trac.shr-project.org/trac/ticket/1446 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes/linux/linux-openmoko.inc4
-rw-r--r--recipes/linux/linux-openmoko_2.6.34.bb2
-rw-r--r--recipes/linux/linux-openmoko_2.6.37.bb2
-rw-r--r--recipes/linux/linux-openmoko_2.6.39.bb1
4 files changed, 5 insertions, 4 deletions
diff --git a/recipes/linux/linux-openmoko.inc b/recipes/linux/linux-openmoko.inc
index 652f442d34..dedd27df3d 100644
--- a/recipes/linux/linux-openmoko.inc
+++ b/recipes/linux/linux-openmoko.inc
@@ -81,8 +81,8 @@ elif test "empty$has_mtdblock" != "empty" -o "empty$has_ubi" != "empty"; then
exit 1
fi
- ${bindir}/flash_eraseall $MTD_KERNEL_PARTITION
- ${bindir}/nandwrite -p $MTD_KERNEL_PARTITION /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
+ ${sbindir}/flash_eraseall $MTD_KERNEL_PARTITION
+ ${sbindir}/nandwrite -p $MTD_KERNEL_PARTITION /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
else
touch ${sysconfdir}/default/flashkernel
fi
diff --git a/recipes/linux/linux-openmoko_2.6.34.bb b/recipes/linux/linux-openmoko_2.6.34.bb
index 9da7bf8500..a83ee175ef 100644
--- a/recipes/linux/linux-openmoko_2.6.34.bb
+++ b/recipes/linux/linux-openmoko_2.6.34.bb
@@ -2,5 +2,5 @@ require linux_${PV}.bb
require linux-openmoko.inc
# just for upgrade path in 2.6.34
KERNEL_RELEASE = "2.6.34.8"
-OM-PR = "17"
+OM-PR = "18"
PKGV = "${KERNEL_RELEASE}-oe${OM-PR}"
diff --git a/recipes/linux/linux-openmoko_2.6.37.bb b/recipes/linux/linux-openmoko_2.6.37.bb
index 2824f6c6fd..69e1d6a9d6 100644
--- a/recipes/linux/linux-openmoko_2.6.37.bb
+++ b/recipes/linux/linux-openmoko_2.6.37.bb
@@ -1,3 +1,3 @@
require linux_${PV}.bb
require linux-openmoko.inc
-OM-PR = "2"
+OM-PR = "3"
diff --git a/recipes/linux/linux-openmoko_2.6.39.bb b/recipes/linux/linux-openmoko_2.6.39.bb
index 3e4d09ed58..633349ecc1 100644
--- a/recipes/linux/linux-openmoko_2.6.39.bb
+++ b/recipes/linux/linux-openmoko_2.6.39.bb
@@ -1,2 +1,3 @@
require linux_${PV}.bb
require linux-openmoko.inc
+OM-PR = "1"