am 34a38f2c: am 945bc2f2: am 92facb1f: Merge "Substitue "/" with "-" in the MODULES-IN phony goal names."
* commit '34a38f2c6cf02e7b200d967e256aa12c4d96e76b': Substitue "/" with "-" in the MODULES-IN phony goal names.
This commit is contained in:
commit
e42e43e071
|
@ -260,7 +260,7 @@ $(my_register_name): $(LOCAL_BUILT_MODULE) $(LOCAL_INSTALLED_MODULE)
|
|||
my_path_components := $(subst /,$(space),$(LOCAL_PATH))
|
||||
my_path_prefix := MODULES-IN
|
||||
$(foreach c, $(my_path_components),\
|
||||
$(eval my_path_prefix := $(my_path_prefix)/$(c))\
|
||||
$(eval my_path_prefix := $(my_path_prefix)-$(c))\
|
||||
$(eval .PHONY : $(my_path_prefix))\
|
||||
$(eval $(my_path_prefix) : $(my_register_name)))
|
||||
|
||||
|
|
|
@ -780,7 +780,10 @@ function mma()
|
|||
return 1
|
||||
fi
|
||||
local MY_PWD=`PWD= /bin/pwd|sed 's:'$T'/::'`
|
||||
$DRV make -C $T -f build/core/main.mk $@ MODULES-IN/$MY_PWD
|
||||
local MODULES_IN_PATHS=MODULES-IN-$MY_PWD
|
||||
# Convert "/" to "-".
|
||||
MODULES_IN_PATHS=${MODULES_IN_PATHS//\//-}
|
||||
$DRV make -C $T -f build/core/main.mk $@ $MODULES_IN_PATHS
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -808,7 +811,7 @@ function mmma()
|
|||
if [ "$MY_PWD" != "" ]; then
|
||||
DIR=$MY_PWD/$DIR
|
||||
fi
|
||||
MODULES_IN_PATHS="$MODULES_IN_PATHS MODULES-IN/$DIR"
|
||||
MODULES_IN_PATHS="$MODULES_IN_PATHS MODULES-IN-$DIR"
|
||||
else
|
||||
case $DIR in
|
||||
showcommands | snod | dist | *=*) ARGS="$ARGS $DIR";;
|
||||
|
@ -816,6 +819,8 @@ function mmma()
|
|||
esac
|
||||
fi
|
||||
done
|
||||
# Convert "/" to "-".
|
||||
MODULES_IN_PATHS=${MODULES_IN_PATHS//\//-}
|
||||
$DRV make -C $T -f build/core/main.mk $DASH_ARGS $ARGS $MODULES_IN_PATHS
|
||||
else
|
||||
echo "Couldn't locate the top of the tree. Try setting TOP."
|
||||
|
|
Loading…
Reference in New Issue