On Friday 2023-07-14 16:30, Michal Suchánek wrote: >> > >> > -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.