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 <sultan@kerneltoast.com> Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com>
This commit is contained in:
committed by
kondors1995
parent
b4d4f4275a
commit
a2ef9dce8e
2
Makefile
2
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")
|
||||
|
||||
Reference in New Issue
Block a user