kernel: fix AUTOLOAD lists extended with a second AutoLoad call

AUTOLOAD holds the load priority and boot flag followed by the module
names. crypto-ghash/arm-ce and sound-core/uml append a complete
$(call AutoLoad,...) to the list they inherit from the base package, so
its priority and boot flag ("09 0" and "30 0") end up as module names,
which kmodloader skips.

crypto-ghash/arm-ce now appends only the module name. sound-core/uml
replaces FILES with soundcore and hostaudio, so it replaces AUTOLOAD as
well, which also drops a duplicate soundcore and the sound modules it
does not ship.

Assisted-by: Gary Dotzler <geldot@protonmail.com>
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
Link: https://github.com/openwrt/openwrt/pull/26279
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Sander van Deijck authored and Robert Marko committed 2026-11-03 11:45:53 +01:00
1 parent f6163c4dd7
commit 0392b74485
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -335,7 +335,7 @@ endef
define KernelPackage/crypto-ghash/arm-ce
FILES+= $(LINUX_DIR)/arch/arm/crypto/ghash-arm-ce.ko
AUTOLOAD+=$(call AutoLoad,09,ghash-arm-ce)
AUTOLOAD+=ghash-arm-ce
endef
KernelPackage/crypto-ghash/imx/cortexa7=$(KernelPackage/crypto-ghash/arm-ce)
+1 -1
View File
@@ -67,7 +67,7 @@ define KernelPackage/sound-core/uml
FILES:= \
$(LINUX_DIR)/sound/soundcore.ko \
$(LINUX_DIR)/arch/um/drivers/hostaudio.ko
AUTOLOAD+=$(call AutoLoad,30,soundcore hostaudio)
AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio)
endef
define KernelPackage/sound-core/description