<div dir="ltr"><div>Sorry, I forgot to remove the debugging info:</div><div><br></div><div>---------------------------------------------------------------<br></div><div>Fix kernel build for those developers who make use OUT_DIR.<br>---<br> config/BoardConfigKernel.mk | 5 +++++<br> 1 file changed, 5 insertions(+)<br><br>diff --git a/config/BoardConfigKernel.mk b/config/BoardConfigKernel.mk<br>index ea7e808d..c0daa063 100644<br>--- a/config/BoardConfigKernel.mk<br>+++ b/config/BoardConfigKernel.mk<br>@@ -85,7 +85,12 @@ endif<br> # is set to true or if the binary to run is whitelisted by in a file like<br> # build/soong/ui/build/paths/config.go. See the path_interposer source in<br> # build/soong/cmd/path_interposer for more details).<br>+ifeq ($(OUT_DIR),)<br> KERNEL_XZ := $(BUILD_TOP)/out/.path/xz<br>+else<br>+KERNEL_XZ := $(OUT_DIR)/.path/xz<br>+endif<br>+$(warning KERNEL_XZ=$(KERNEL_XZ)")<br> <br> # We need to add GCC toolchain to the path no matter what<br> # for tools like `as`<br>-- <br>2.30.1<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 24 Mar 2021 at 22:28, Javi Ferrer <<a href="mailto:javi.f.o@gmail.com">javi.f.o@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Fix kernel build for those developers who make use OUT_DIR.<br>---<br> config/BoardConfigKernel.mk | 5 +++++<br> 1 file changed, 5 insertions(+)<br><br>diff --git a/config/BoardConfigKernel.mk b/config/BoardConfigKernel.mk<br>index ea7e808d..c0daa063 100644<br>--- a/config/BoardConfigKernel.mk<br>+++ b/config/BoardConfigKernel.mk<br>@@ -85,7 +85,12 @@ endif<br> # is set to true or if the binary to run is whitelisted by in a file like<br> # build/soong/ui/build/paths/config.go. See the path_interposer source in<br> # build/soong/cmd/path_interposer for more details).<br>+ifeq ($(OUT_DIR),)<br> KERNEL_XZ := $(BUILD_TOP)/out/.path/xz<br>+else<br>+KERNEL_XZ := $(OUT_DIR)/.path/xz<br>+endif<br>+$(warning KERNEL_XZ=$(KERNEL_XZ)")<br> <br> # We need to add GCC toolchain to the path no matter what<br> # for tools like `as`<br>-- <br>2.30.1</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 24 Mar 2021 at 17:58, Javi Ferrer <<a href="mailto:javi.f.o@gmail.com" target="_blank">javi.f.o@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Fix kernel build for those developers who make use OUT_DIR.<br><br>Signed-off-by: Javi Ferrer <<a href="mailto:javi.f.o@gmail.com" target="_blank">javi.f.o@gmail.com</a>><br>---<br> config/BoardConfigKernel.mk | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/config/BoardConfigKernel.mk b/config/BoardConfigKernel.mk<br>index ea7e808d..6342eb54 100644<br>--- a/config/BoardConfigKernel.mk<br>+++ b/config/BoardConfigKernel.mk<br>@@ -85,7 +85,7 @@ endif<br> # is set to true or if the binary to run is whitelisted by in a file like<br> # build/soong/ui/build/paths/config.go. See the path_interposer source in<br> # build/soong/cmd/path_interposer for more details).<br>-KERNEL_XZ := $(BUILD_TOP)/out/.path/xz<br>+KERNEL_XZ := $(OUT_DIR)/.path/xz<br> <br> # We need to add GCC toolchain to the path no matter what<br> # for tools like `as`<font color="#888888"><br>-- <br>2.30.1</font></div>
</blockquote></div>
</blockquote></div>