forked from DGNum/liminix
support out-of-tree module builds in vmlinux derivation
run "make modules_prepare" to create scripts/modules.lds
This commit is contained in:
parent
2276c548ba
commit
70fa328574
2 changed files with 4 additions and 1 deletions
|
@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
KBUILD_BUILD_HOST = "liminix.builder";
|
||||
buildPhase = ''
|
||||
make -C ${tree} vmlinux
|
||||
make -C ${tree} vmlinux modules_prepare
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
@ -53,6 +53,9 @@ in {
|
|||
IKCONFIG = "y";
|
||||
IKCONFIG_PROC = "y";
|
||||
PROC_FS = "y";
|
||||
|
||||
MODULES = "y";
|
||||
|
||||
# s6-linux-init mounts this on /dev
|
||||
DEVTMPFS = "y";
|
||||
# some or all of these may be fix for "tmpfs: Unknown parameter 'mode'" error
|
||||
|
|
Loading…
Reference in a new issue