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

This reverts commit 8a7d4fed84, reversing
changes made to bdf9093b71.

Change-Id: I6fbcfb72f49740223691f2e1edecbbfc28f420c5
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
This commit is contained in:
Vinay Sudra 2021-03-16 13:49:59 +05:30 • committed by Gerrit - the friendly Code Review server
commit 38abe9e64f
2 changed files with 2 additions and 10 deletions

View file

@ -1047,10 +1047,7 @@ genrule {
genrule {
name: "qti_generate_kernel_headers_arm64",
tools: [
"headers_install.sh",
"unifdef",
],
tools: ["headers_install.sh"],
tool_files: [
"kernel_headers.py",
],
@ -1072,7 +1069,6 @@ 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,10 +1051,7 @@ genrule {
genrule {
name: "qti_generate_kernel_headers_arm",
tools: [
"headers_install.sh",
"unifdef",
],
tools: ["headers_install.sh"],
tool_files: [
"kernel_headers.py",
"arch/arm/tools/syscallhdr.sh",
@ -1079,7 +1076,6 @@ 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,
}