diff options
Diffstat (limited to 'setup')
-rwxr-xr-x | setup | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,7 +31,7 @@ machine() { local target=$1 local build_dir=$2 local cfg name tmpl - for cfg in meta-*/meta-*/conf/machine/*.conf; do + for cfg in meta-*/meta-*/conf/machine/*.conf meta-*/conf/machine/*.conf; do name=${cfg##*/} name=${name%.conf} tmpl=${cfg%/machine/*.conf} @@ -40,6 +40,7 @@ machine() { if [ -n "$target" ]; then if [ "${name}" = "${target}" ]; then echo "Machine ${target} found in ${tmpl%/conf}" + mkdir -p ${build_dir} TEMPLATECONF="${tmpl}" source \ oe-init-build-env ${build_dir} @@ -68,7 +69,7 @@ elif [ "$1" = "qemuarm" ]; then else bld_dir=$2 if [ -z "$2" ]; then - bld_dir="build" + bld_dir="build/$1" fi machine $1 $bld_dir fi |