Merge "Use environment variable to find unifdef tool for auto target"

This commit is contained in:
qctecmdr 2021-03-12 09:54:29 -08:00 • committed by Gerrit - the friendly Code Review server
commit 8a7d4fed84
2 changed files with 10 additions and 2 deletions

View file

@ -1047,7 +1047,10 @@ genrule {
genrule {
name: "qti_generate_kernel_headers_arm64",
tools: ["headers_install.sh"],
tools: [
"headers_install.sh",
"unifdef",
],
tool_files: [
"kernel_headers.py",
],
@ -1069,6 +1072,7 @@ genrule {
"--new_gen_headers_bp $(location :qti_generate_gen_headers_arm64) " +
"--version_makefile $(location Makefile) " +
"--headers_install $(location headers_install.sh) " +
"--unifdef $(location unifdef) " +
"--include_uapi $(locations include/uapi/**/*.h)",
out: ["linux/version.h"] + gen_headers_out_arm64,
}

View file

@ -1051,7 +1051,10 @@ genrule {
genrule {
name: "qti_generate_kernel_headers_arm",
tools: ["headers_install.sh"],
tools: [
"headers_install.sh",
"unifdef",
],
tool_files: [
"kernel_headers.py",
"arch/arm/tools/syscallhdr.sh",
@ -1076,6 +1079,7 @@ genrule {
"--arch_syscall_tool $(location arch/arm/tools/syscallhdr.sh) " +
"--arch_syscall_tbl $(location arch/arm/tools/syscall.tbl) " +
"--headers_install $(location headers_install.sh) " +
"--unifdef $(location unifdef) " +
"--include_uapi $(locations include/uapi/**/*.h)",
out: ["linux/version.h"] + gen_headers_out_arm,
}