let abuild autodetect the coreboot path a bit better. So in the top level of
coreboot you can now do: $ util/abuild/abuild -t foo/bar instead of $ util/abuild/abuild -t foo/bar $PWD Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4388 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
3c6bd6c773
commit
0d4a08e7da
|
@ -603,9 +603,12 @@ EOF
|
||||||
# default options
|
# default options
|
||||||
target=""
|
target=""
|
||||||
buildall=false
|
buildall=false
|
||||||
LBROOT=$( cd ../..; pwd )
|
|
||||||
verbose=false
|
verbose=false
|
||||||
|
|
||||||
|
test -f util/newconfig/config.g && LBROOT=$( pwd )
|
||||||
|
test -f ../util/newconfig/config.g && LBROOT=$( cd ..; pwd )
|
||||||
|
test "$LBROOT" = "" && LBROOT=$( cd ../..; pwd )
|
||||||
|
|
||||||
# parse parameters.. try to find out whether we're running GNU getopt
|
# parse parameters.. try to find out whether we're running GNU getopt
|
||||||
getoptbrand="`getopt -V`"
|
getoptbrand="`getopt -V`"
|
||||||
if [ "${getoptbrand:0:6}" == "getopt" ]; then
|
if [ "${getoptbrand:0:6}" == "getopt" ]; then
|
||||||
|
|
Loading…
Reference in New Issue