ANDROID: Kleaf: Fix build by exporting mixed-build-prefix

Works around build breakage. Once we find the proper fix, we should
revert this.

Bug: 205893923
Test: builds

Change-Id: I8b4ab0eb5895232b4e0f3f7639984e4093b77e75
Signed-off-by: Yifan Hong <elsk@google.com>
This commit is contained in:
Yifan Hong
2021-11-10 15:44:37 -08:00
parent ba11a2e32c
commit e80a44109f

View File

@@ -149,6 +149,10 @@ endif
mixed-build-prefix = $(if $(KBUILD_MIXED_TREE),$(KBUILD_MIXED_TREE)/)
export KBUILD_MIXED_TREE
# This is a hack for kleaf to set mixed-build-prefix within the execution of a make rule, e.g.
# within __modinst_pre.
# TODO(b/205893923): Revert this hack once it is properly handled.
export mixed-build-prefix
# Kbuild will save output files in the current working directory.
# This does not need to match to the root of the kernel source tree.