projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68fef67
)
kbuild: replace $(if A,A,B) with $(or A,B) in scripts/Makefile.modpost
author
Masahiro Yamada
<masahiroy@kernel.org>
Mon, 23 May 2022 18:15:03 +0000
(
03:15
+0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Fri, 27 May 2022 07:17:43 +0000
(16:17 +0900)
Similar cleanup to commit
5c8166419acf
("kbuild: replace $(if A,A,B)
with $(or A,B)").
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/Makefile.modpost
patch
|
blob
|
history
diff --git
a/scripts/Makefile.modpost
b/scripts/Makefile.modpost
index 0273bf7375e26b5123834a9cbd7cabfe9621d160..8b343480813d123de2d19a484faafc232a9dc225 100644
(file)
--- a/
scripts/Makefile.modpost
+++ b/
scripts/Makefile.modpost
@@
-87,7
+87,7
@@
obj := $(KBUILD_EXTMOD)
src := $(obj)
# Include the module's Makefile to find KBUILD_EXTRA_SYMBOLS
-include $(
if $(wildcard $(src)/Kbuild), $(src)/Kbuild
, $(src)/Makefile)
+include $(
or $(wildcard $(src)/Kbuild)
, $(src)/Makefile)
# modpost option for external modules
MODPOST += -e