kernel: Use prebuilt binaries
perl, lz4c, and a bunch of other binaries are not allowed anymore.
So we need to provide our own.
Change-Id: Idbc88b76247b3dda7c5d52e5eed2d548c33f6f2d
diff --git a/build/tasks/kernel.mk b/build/tasks/kernel.mk
index 507c4b0..3ba45a0 100644
--- a/build/tasks/kernel.mk
+++ b/build/tasks/kernel.mk
@@ -187,6 +187,9 @@
TARGET_KERNEL_MODULES := INSTALLED_KERNEL_MODULES
endif
+# System tools are no longer allowed on 10+
+PATH_OVERRIDE += $(TOOLS_PATH_OVERRIDE)
+
KERNEL_ADDITIONAL_CONFIG_OUT := $(KERNEL_OUT)/.additional_config
# Internal implementation of make-kernel-target