Use environment variable to find unifdef tool for auto target
Add --unifdef option to gen_headers_arm_auto.bp and gen_headers_arm64.bp. Change-Id: I0e1aaaef7004e3133ba45224918bf8b6ea3a5e7e Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
This commit is contained in:
parent
1da9486979
commit
c80b58390d
@ -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,
|
||||
}
|
||||
|
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user