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: do not pass -r to genksyms when *.symref does not exist

There is no need to pass '-r /dev/null', which is no-op.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>

+1 -1
+1 -1
scripts/Makefile.build
··· 110 110 genksyms = $(objtree)/scripts/genksyms/genksyms \ 111 111 $(if $(1), -T $(2)) \ 112 112 $(if $(KBUILD_PRESERVE), -p) \ 113 - -r $(or $(wildcard $(2:.symtypes=.symref)), /dev/null) 113 + $(addprefix -r , $(wildcard $(2:.symtypes=.symref))) 114 114 115 115 # These mirror gensymtypes_S and co below, keep them in synch. 116 116 cmd_gensymtypes_c = $(CPP) -D__GENKSYMS__ $(c_flags) $< | $(genksyms)