Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5011cdd0 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

kbuild: fix silentoldconfig with make O=



Al Viro reported that sometimes silentoldconfig failed because
output directory was missing.
So create it unconditionally before executing conf

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 5bb78269
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -491,6 +491,7 @@ include .config
# If .config is newer than include/linux/autoconf.h, someone tinkered
# with it and forgot to run make oldconfig
include/linux/autoconf.h: .config
	$(Q)mkdir -p include/linux
	$(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
else
# Dummy target needed, because used as prerequisite