mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
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: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
5bb7826900
commit
5011cdd01b
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -491,6 +491,7 @@ include .config
|
||||||
# If .config is newer than include/linux/autoconf.h, someone tinkered
|
# If .config is newer than include/linux/autoconf.h, someone tinkered
|
||||||
# with it and forgot to run make oldconfig
|
# with it and forgot to run make oldconfig
|
||||||
include/linux/autoconf.h: .config
|
include/linux/autoconf.h: .config
|
||||||
|
$(Q)mkdir -p include/linux
|
||||||
$(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
|
$(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
|
||||||
else
|
else
|
||||||
# Dummy target needed, because used as prerequisite
|
# Dummy target needed, because used as prerequisite
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue