Add samples

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-07-26 00:07:09 +03:00
parent a35a476654
commit 90a6e58dca
6 changed files with 104 additions and 0 deletions

21
samples/build_system.dcfg Normal file
View File

@@ -0,0 +1,21 @@
fn lib = {
targets = [
{
name = 'kernel'
source = 'src/kernel'
output = 'bin/kernel.elf'
options = {
optimization = 'O2'
debug = false
}
}
{
name = 'initrd'
source = 'src/initrd'
output = 'bin/initrd.img'
}
]
parallel_jobs = 8
cache.enable = true
}