Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb69c58b authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "mma in dirs w/o Android.(mk|bp) in ancestor dir"

am: ea01e649

Change-Id: I06374b11b837fad4d6e1824ba1b99b1a109c7763
parents 1d46a339 ea01e649
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -742,6 +742,7 @@ function findmakefile()
        \cd ..
    done
    \cd $HERE
    return 1
}

function mm()
@@ -869,7 +870,7 @@ function mma()
      echo "Couldn't locate the top of the tree.  Try setting TOP."
      return 1
    fi
    local M=$(findmakefile)
    local M=$(findmakefile || echo $(realpath $PWD)/Android.mk)
    # Remove the path to top as the makefilepath needs to be relative
    local M=`echo $M|sed 's:'$T'/::'`
    local MODULES_IN_PATHS=MODULES-IN-$(dirname ${M})