summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-07-06 10:39:01 +0000
committerKoen Kooi <koen@openembedded.org>2008-07-06 10:39:01 +0000
commite0241d95b58de6c11be24f2aa0d90db3a5e44b50 (patch)
treec2b2405afdde53645f13c24eb82f534a7cf41ee3 /packages
parent27ad067e1147eada1e98bd691ff641120a8077e2 (diff)
initscripts: do not poke at /proc/cpu/alignment on armv7, it slows libavcodec down with 50%
Diffstat (limited to 'packages')
-rw-r--r--packages/initscripts/initscripts-1.0/arm/alignment.sh2
-rw-r--r--packages/initscripts/initscripts_1.0.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/initscripts/initscripts-1.0/arm/alignment.sh b/packages/initscripts/initscripts-1.0/arm/alignment.sh
index 4a66dc6bc8..256f30cb8d 100644
--- a/packages/initscripts/initscripts-1.0/arm/alignment.sh
+++ b/packages/initscripts/initscripts-1.0/arm/alignment.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ -e /proc/cpu/alignment ]; then
+if [ -e /proc/cpu/alignment ] && ! [ $(uname -m) = "armv7l: ]; then
echo "3" > /proc/cpu/alignment
fi
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index 55998c0a4a..242e85086e 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -4,7 +4,7 @@ PRIORITY = "required"
DEPENDS = "makedevs"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r105"
+PR = "r106"
SRC_URI = "file://functions \
file://halt \