How can I add a symlink from /etc/modules-boot.d to a module in /etc/modules.d

I have a driver that is built and gets put into /etc/modules.d on the target. I want it to load earlier during bootup. On the running system, I see that modules with symlinks from /etc/modules-boot.d get loaded first. How can I add a symlink to my module?

Pass 1 as 3rd argument to the call of the AutoLoad macro.
E.g. instead of

AUTOLOAD:=$(call AutoLoad,123,mymodule)

use

AUTOLOAD:=$(call AutoLoad,123,mymodule,1)
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.