Skip to content

Commit c9db188

Browse files
committed
kbuild: replace $(if A,A,B) with $(or A,B) in scripts/Makefile.modpost
Similar cleanup to commit 5c81664 ("kbuild: replace $(if A,A,B) with $(or A,B)"). Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
1 parent 68fef67 commit c9db188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.modpost

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ obj := $(KBUILD_EXTMOD)
8787
src := $(obj)
8888

8989
# Include the module's Makefile to find KBUILD_EXTRA_SYMBOLS
90-
include $(if $(wildcard $(src)/Kbuild), $(src)/Kbuild, $(src)/Makefile)
90+
include $(or $(wildcard $(src)/Kbuild), $(src)/Makefile)
9191

9292
# modpost option for external modules
9393
MODPOST += -e

0 commit comments

Comments
 (0)