Allow to overrde command make in envsetup.sh.
To override define function get_make_command() in vendor's vendor-envsetup.sh. Change-Id: I553e60816eb789750ccd16110f2e82a5087587e8
This commit is contained in:
@@ -1472,10 +1472,15 @@ function pez {
|
|||||||
return $retval
|
return $retval
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_make_command()
|
||||||
|
{
|
||||||
|
echo command make
|
||||||
|
}
|
||||||
|
|
||||||
function make()
|
function make()
|
||||||
{
|
{
|
||||||
local start_time=$(date +"%s")
|
local start_time=$(date +"%s")
|
||||||
command make "$@"
|
$(get_make_command) "$@"
|
||||||
local ret=$?
|
local ret=$?
|
||||||
local end_time=$(date +"%s")
|
local end_time=$(date +"%s")
|
||||||
local tdiff=$(($end_time-$start_time))
|
local tdiff=$(($end_time-$start_time))
|
||||||
|
Reference in New Issue
Block a user