Skip to content

Commit

Permalink
kbuild: Add User Mode Linux support
Browse files Browse the repository at this point in the history
Few bits needed to be added for UM Linux.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Jun 18, 2024
1 parent 648cfbf commit 905ec00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kernelci/kbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
DTBS_DISABLED = {
'i386': True,
'x86_64': True,
'sparc': True
'sparc': True,
'um': True,
}

# Hard-coded make targets for each CPU architecture
Expand All @@ -66,6 +67,7 @@
'riscv': 'Image',
'riscv64': 'Image',
'sparc': 'zImage',
'um': 'linux'
}

# Hard-coded binary kernel image names for each CPU architecture
Expand All @@ -80,6 +82,7 @@
'sparc': {'zImage'},
'x86_64': {'bzImage'},
'x86': {'bzImage'},
'um': {'linux'},
}

'''
Expand Down

0 comments on commit 905ec00

Please sign in to comment.