summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Evans <andrewevans@google.com>2023-05-18 20:17:30 +0000
committerAndrew Evans <andrewevans@google.com>2023-05-18 20:23:42 +0000
commit967881a258a5dccb137b209f204fe5709092dea0 (patch)
tree40b5c3e2a8de436bedee4d00bb447b16812e6521
parentd5648b896141d4599a71676ed0a79efdcebedb33 (diff)
downloadgraphics-android-msm-eos-5.15-tm-wear-kr3-dr-eos.tar.gz
Prevent obscure build errors caused by having sourced `build/envsetup.sh` from an Android tree. Bug: 223899851 Change-Id: I780f12bfe288da3eded2e424e12a496a5d44bc0b Signed-off-by: Andrew Evans <andrewevans@google.com>
-rw-r--r--Kbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/Kbuild b/Kbuild
index 026ecf8..0fc1607 100644
--- a/Kbuild
+++ b/Kbuild
@@ -1,5 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-only
+# b/223899851: Don't try to build from an Android tree, even if we have
+# a pointer to one. Unlike QC, we don't bundle the kernel source and
+# build in the Android build.
+undefine ANDROID_BUILD_TOP
+
KDIR := $(TOP)/kernel_platform/common
ifeq ($(KGSL_PATH),)