From a2ef9dce8e2c3e3ea5049915dbceb44450106070 Mon Sep 17 00:00:00 2001 From: Sultan Alsawaf Date: Sun, 14 Apr 2019 16:16:42 -0700 Subject: [PATCH] Makefile: Set KBUILD_OUTPUT to out by default Using a different object directory fixes the compile errors caused by CAF header insanity and keeps the kernel source tree cleanly separated from generated objects. Signed-off-by: Sultan Alsawaf Signed-off-by: UtsavisGreat --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index c4bdeb8dfbbe..d14de0381864 100644 --- a/Makefile +++ b/Makefile @@ -115,6 +115,8 @@ export quiet Q KBUILD_VERBOSE # it is set on invocation of make with KBUILD_OUTPUT or O= specified. ifeq ($(KBUILD_SRC),) +KBUILD_OUTPUT := out + # OK, Make called in directory where kernel src resides # Do we want to locate output files in a separate directory? ifeq ("$(origin O)", "command line")