Thread (17 messages) 17 messages, 6 authors, 2023-09-11

Re: [PATCH v3] depmod: Handle installing modules under a prefix

From: Jan Engelhardt <hidden>
Date: 2023-07-14 14:42:19
Also in: linux-kbuild, lkml

On Friday 2023-07-14 16:30, Michal Suchánek wrote:
quoted
quoted
 
-MODLIB	= $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
+export KERNEL_MODULE_PREFIX := $(shell kmod config &> /dev/null && kmod config | jq -r .module_prefix)
All other calls of `jq` that I could find are located at tools/; as this here
is evaluated on each invocation, this should probably be documented in
Documentation/process/changes.rst?

(Absence of `jq` will cause error messages, even with CONFIG_MODULES=n.)
That's a good point.
Speaking of which, "&>" is a bashism and probably should be replaced.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help