summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2016-11-30 23:41:58 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-01 19:19:22 +0100
commitd3fc425e819be7c251a9c208cd4c0a6373c19bfe (patch)
tree0af8ce6f9eb35a38532c7c97b7177bb73b2010f8 /Makefile
parentMerge branch 'akpm' (patches from Andrew) (diff)
downloadlinux-d3fc425e819be7c251a9c208cd4c0a6373c19bfe.tar.xz
linux-d3fc425e819be7c251a9c208cd4c0a6373c19bfe.zip
kbuild: make sure autoksyms.h exists early
Some people are able to trigger a race where autoksyms.h is used before its empty version is even created. Let's create it at the same time as the directory holding it is created. Signed-off-by: Nicolas Pitre <nico@linaro.org> Tested-by: Prarit Bhargava <prarit@redhat.com> Tested-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 694111b43cf8..9f9c3b577c75 100644
--- a/Makefile
+++ b/Makefile
@@ -1019,8 +1019,6 @@ prepare2: prepare3 prepare-compiler-check outputmakefile asm-generic
prepare1: prepare2 $(version_h) include/generated/utsrelease.h \
include/config/auto.conf
$(cmd_crmodverdir)
- $(Q)test -e include/generated/autoksyms.h || \
- touch include/generated/autoksyms.h
archprepare: archheaders archscripts prepare1 scripts_basic