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
(cherry picked from commit 08a1879c87)
This commit is contained in:
Ramji Jiyani
2022-06-08 21:52:30 +00:00
parent e2b8796f6c
commit 438c43687f

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