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 = [
{
name = 'kernel'
source = 'src/kernel'
output = 'bin/kernel.elf'
source = ./src/kernel
output = ./bin/kernel.elf
options = {
optimization = 'O2'
optimization_level = 2
debug = false
}
}
{
name = 'initrd'
source = 'src/initrd'
output = 'bin/initrd.img'
source = ./src/initrd
output = ./bin/initrd.img
}
]