Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Nicolas Pitre and committed by
Linus Torvalds
d3fc425e 43c4f67c

+2 -2
-2
Makefile
··· 1019 1019 prepare1: prepare2 $(version_h) include/generated/utsrelease.h \ 1020 1020 include/config/auto.conf 1021 1021 $(cmd_crmodverdir) 1022 - $(Q)test -e include/generated/autoksyms.h || \ 1023 - touch include/generated/autoksyms.h 1024 1022 1025 1023 archprepare: archheaders archscripts prepare1 scripts_basic 1026 1024
+2
scripts/kconfig/Makefile
··· 35 35 36 36 silentoldconfig: $(obj)/conf 37 37 $(Q)mkdir -p include/config include/generated 38 + $(Q)test -e include/generated/autoksyms.h || \ 39 + touch include/generated/autoksyms.h 38 40 $< $(silent) --$@ $(Kconfig) 39 41 40 42 localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf