Add avbtool alias
As a replacement for the removal of the avbtool symlink Bug: 198619163 Test: Manually running `avbtool` Change-Id: I54d504a5132e5ac89337e67a07bca0a6f410c272
This commit is contained in:
parent
d5c36e1fd7
commit
45844ab338
1 changed files with 7 additions and 0 deletions
|
@ -2045,6 +2045,13 @@ function showcommands() {
|
|||
fi
|
||||
}
|
||||
|
||||
function avbtool() {
|
||||
if [[ ! -f "$ANDROID_SOONG_HOST_OUT"/bin/avbtool ]]; then
|
||||
m avbtool
|
||||
fi
|
||||
"$ANDROID_SOONG_HOST_OUT"/bin/avbtool $@
|
||||
}
|
||||
|
||||
validate_current_shell
|
||||
source_vendorsetup
|
||||
addcompletions
|
||||
|
|
Loading…
Reference in a new issue