diff options
author | Chris Larson <clarson@kergoth.com> | 2003-07-28 20:36:36 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-07-28 20:36:36 +0000 |
commit | 3c8b772acab0edbabb0eaec03ad9d6589ab01244 (patch) | |
tree | 2e62f6339b38ecde57ee6904a8a56f945e7dc915 /bin/build | |
parent | 6557d89b4ecab9d93fc0803f4d4bbfb4c7974582 (diff) | |
download | bitbake-contrib-3c8b772acab0edbabb0eaec03ad9d6589ab01244.tar.gz |
Allow seperate build dir from src
Diffstat (limited to 'bin/build')
-rw-r--r-- | bin/build/oebuild.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/build/oebuild.sh b/bin/build/oebuild.sh index 8462f38fd..32287dd7f 100644 --- a/bin/build/oebuild.sh +++ b/bin/build/oebuild.sh @@ -219,6 +219,7 @@ unpack() { for x in $@ do myfail="failure unpacking ${x}" + x="$(echo $x | sed 's:;.*::g')" oenote "Unpacking ${x} to $(pwd)" y="$(echo $x | sed 's:.*\.\(tar\)\.[a-zA-Z0-9]*:\1:')" case "${x##*.}" in @@ -251,8 +252,6 @@ unpack() { *) if [ -d "${x}" ]; then cp -a ${x} . - else - oefatal "unpack ${x}: file format not recognized" fi ;; esac @@ -261,10 +260,10 @@ unpack() { oe_runconf() { - if [ -x ./configure ] ; then + if [ -x ${S}/configure ] ; then test -z "${BUILD_SYS}" || EXTRA_OECONF="--build=${BUILD_SYS} ${EXTRA_OECONF}" test -z "${TARGET_SYS}" || EXTRA_OECONF="--target=${TARGET_SYS} ${EXTRA_OECONF}" - ./configure \ + ${S}/configure \ --prefix=/usr \ --host=${SYS} \ --mandir=/usr/share/man \ |