Rename oemake the make spawn tool to prevent namespace conflicts with oemake the...
authorChris Larson <clarson@kergoth.com>
Thu, 10 Jul 2003 19:27:52 +0000 (19:27 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 10 Jul 2003 19:27:52 +0000 (19:27 +0000)
bin/build/oebuild.sh

index a0e1bdf..8462f38 100644 (file)
@@ -260,8 +260,7 @@ unpack() {
 }
 
 
-#TODO: add crosscompile support
-oeconf() {
+oe_runconf() {
        if [ -x ./configure ] ; then
                test -z "${BUILD_SYS}" || EXTRA_OECONF="--build=${BUILD_SYS} ${EXTRA_OECONF}"
                test -z "${TARGET_SYS}" || EXTRA_OECONF="--target=${TARGET_SYS} ${EXTRA_OECONF}"
@@ -280,9 +279,10 @@ oeconf() {
        fi
 }
 
-oemake() {
+oe_runmake() {
        if [ -f ./[mM]akefile -o -f ./GNUmakefile ] ; then
                if [ x"$MAKE" = x ]; then MAKE=make; fi
+               oenote ${MAKE} ${EXTRA_OEMAKE} "$@"
                ${MAKE} ${EXTRA_OEMAKE} "$@" || die "oemake failed"
        else
                die "no Makefile found"