Fix LOCAL_PATH in mm builds so that overlays work
LOCAL_PATH is a relative path from TOP when making a full build. This change makes that true for mm builds too.
This commit is contained in:
parent
b606925ef9
commit
3c794d71b9
|
@ -596,6 +596,8 @@ function mm()
|
|||
# Find the closest Android.mk file.
|
||||
T=$(gettop)
|
||||
local M=$(findmakefile)
|
||||
# Remove the path to top as the makefilepath needs to be relative
|
||||
local M=`echo $M|sed 's:'$T'/::'`
|
||||
if [ ! "$T" ]; then
|
||||
echo "Couldn't locate the top of the tree. Try setting TOP."
|
||||
elif [ ! "$M" ]; then
|
||||
|
|
Loading…
Reference in New Issue