build: replace hosted target with static linux and add kernel target

Co-authored-by: aider (openrouter/moonshotai/kimi-k2.6) <aider@aider.chat>
This commit is contained in:
2026-05-04 10:48:51 +03:00
parent fcbc810db8
commit 23451c8e85
4 changed files with 279 additions and 8 deletions
+30
View File
@@ -0,0 +1,30 @@
ENTRY(_start)
SECTIONS
{
. = 0x100000;
.text : ALIGN(4K)
{
*(.multiboot2)
*(.text)
}
.rodata : ALIGN(4K)
{
*(.rodata)
}
.data : ALIGN(4K)
{
*(.data)
}
.bss : ALIGN(4K)
{
__bss_start = .;
*(.bss)
*(COMMON)
__bss_end = .;
}
}