Permalink
Browse files

oebb: put machine in auto.conf

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent 108c034 commit 088be906f37eb02f17bc3f063f4e5c6b3e8e249d @koenkooi koenkooi committed May 5, 2011
Showing with 8 additions and 3 deletions.
  1. +1 −2 build/conf/local.conf
  2. +7 −1 oebb.sh
@@ -16,11 +16,10 @@ IMAGE_FSTYPES += "tar.bz2"
# Make use of SMP:
# PARALLEL_MAKE specifies how many concurrent compiler threads are spawned per bitbake process
# BB_NUMBER_THREADS specifies how many concurrent bitbake tasks will be run
-#PARALLEL_MAKE = "-j2"
+PARALLEL_MAKE = "-j2"
BB_NUMBER_THREADS = "2"
DISTRO = "angstrom-2010.x"
-MACHINE ?= "beagleboard"
# Set terminal types by default it expects gnome-terminal
# but we chose xterm
View
@@ -160,7 +160,7 @@ function clean_oe()
###############################################################################
function oe_build()
{
- if [ ! -e ${OE_BUILD_DIR}/conf/site.conf ] ; then
+ if [ ! -e ${OE_BUILD_DIR}/conf/auto.conf ] ; then
if [ -z $MACHINE ] ; then
echo "No config found, please run $0 config <machine> first"
else
@@ -279,6 +279,12 @@ TMPDIR = "${OE_BUILD_TMPDIR}"
#HTTP_PROXY = "http://${PROXYHOST}:${PROXYPORT}/"
_EOF
+
+ if [ ! -e ${OE_BUILD_DIR}/conf/auto.conf ]; then
+ cat > ${OE_BUILD_DIR}/conf/auto.conf <<_EOF
+MACHINE ?= "${MACHINE}"
+_EOF
+
fi
}

0 comments on commit 088be90

Please sign in to comment.