Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a7d4fed authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents bdf9093b cd0a4a0c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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,
}
+5 −1
Original line number Diff line number Diff line
@@ -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,
}