git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88067ff
)
kbuild: generate modules.order only when CONFIG_MODULES=y
author
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Tue, 20 May 2025 05:21:30 +0000
(08:21 +0300)
committer
Tom Rini
<trini@konsulko.com>
Fri, 30 May 2025 00:42:38 +0000
(18:42 -0600)
Backport from kernel although it is unused since it makes diffing easier.
commit
1d8001ef358
("kbuild: generate modules.order only when CONFIG_MODULES=y")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
scripts/Makefile.build
patch
|
blob
|
history
diff --git
a/scripts/Makefile.build
b/scripts/Makefile.build
index
ed58bca
..
2b2beb0
100644
(file)
--- a/
scripts/Makefile.build
+++ b/
scripts/Makefile.build
@@
-82,7
+82,9
@@
ifneq ($(strip $(obj-y) $(obj-m) $(obj-) $(subdir-m) $(lib-target)),)
builtin-target := $(obj)/built-in.o
endif
+ifdef CONFIG_MODULES
modorder-target := $(obj)/modules.order
+endif
# We keep a list of all modules in $(MODVERDIR)