initscripts: do not poke at /proc/cpu/alignment on armv7, it slows libavcodec down...
authorKoen Kooi <koen@openembedded.org>
Sun, 6 Jul 2008 10:39:01 +0000 (10:39 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 6 Jul 2008 10:39:01 +0000 (10:39 +0000)
packages/initscripts/initscripts-1.0/arm/alignment.sh
packages/initscripts/initscripts_1.0.bb

index 4a66dc6..256f30c 100644 (file)
@@ -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
 
index 55998c0..242e850 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 DEPENDS = "makedevs"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r105"
+PR = "r106"
 
 SRC_URI = "file://functions \
            file://halt \