mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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:
4
Makefile
4
Makefile
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user