ANDROID: GKI: remove info print for header generation

Script doesn't honor the Kernel's quiet command
mechanism with KBuild; so need to remove info
only echo. Added set -x in case make V=1 for keeping
debugging handy for script in the future.

Bug: 234116152
Test: TH
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Iea881816b9bc8c47157a33da67d6cf5f8357a7be
This commit is contained in:
Ramji Jiyani 2022-06-08 21:52:30 +00:00 committed by Matthias Männich
parent 5452f089f9
commit 08a1879c87
1 changed files with 6 additions and 1 deletions

View File

@ -26,6 +26,12 @@ set -e
#
# Common Definitions
#
# Use "make V=1" to debug this script.
case "$KBUILD_VERBOSE" in
*1*)
set -x
;;
esac
#
# generate_header():
@ -38,7 +44,6 @@ generate_header() {
local symbol_file=$2
local symbol_type=$3
echo " GEN ${header_file}"
if [ -f "${header_file}" ]; then
rm -f -- "${header_file}"
fi