Module: setup-scripts
Branch: master
Commit: 52577c8a8f75028e9b056488b63611376b75717e

Author: Khem Raj <raj.k...@gmail.com>
Date:   Thu Oct 20 16:54:01 2011 -0700

oebb.sh: Update MACHINE entry in auto.conf

Currently we dont update the machine entry in auto.conf
except for first time when autoconf is created. This
patch lets us edit auto.conf when we do
oebb.sh config <machine> subsequently. It will update
MACHINE entry in auto.conf

Signed-off-by: Khem Raj <raj.k...@gmail.com>
Signed-off-by: Koen Kooi <k...@dominion.thruhere.net>

---

 oebb.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/oebb.sh b/oebb.sh
index f7247b8..a89d497 100755
--- a/oebb.sh
+++ b/oebb.sh
@@ -265,7 +265,8 @@ fi
         cat > ${OE_BUILD_DIR}/conf/auto.conf <<_EOF
 MACHINE ?= "${MACHINE}"
 _EOF
-
+    else
+       eval "sed -i -e 's/^MACHINE.*$/MACHINE ?= ${MACHINE}/g' 
${OE_BUILD_DIR}/conf/auto.conf"
 fi
 }
 


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to