Update build system sample
All checks were successful
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=OFF (push) Successful in 4m59s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=OFF (push) Successful in 5m10s
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=ON (push) Successful in 2m35s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=ON (push) Successful in 3m50s
CMake / ubuntu-latest - shared=OFF, pthread=ON, posix=ON (push) Successful in 2m56s
CMake / ubuntu-latest - shared=ON, pthread=ON, posix=ON (push) Successful in 3m56s

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-07-26 20:52:18 +03:00
parent 6374eccce5
commit 7fff67a1c1

View File

@@ -2,17 +2,17 @@ fn lib = {
targets = [ targets = [
{ {
name = 'kernel' name = 'kernel'
source = 'src/kernel' source = ./src/kernel
output = 'bin/kernel.elf' output = ./bin/kernel.elf
options = { options = {
optimization = 'O2' optimization_level = 2
debug = false debug = false
} }
} }
{ {
name = 'initrd' name = 'initrd'
source = 'src/initrd' source = ./src/initrd
output = 'bin/initrd.img' output = ./bin/initrd.img
} }
] ]