summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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),)