mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
This change moves Bonnibel from a separate project into the jsix tree, and alters the project configuration to be jsix-specific. (I stopped using bonnibel for any other projects, so it's far easier to make it a custom generator for jsix.) The build system now also uses actual python code in `*.module` files to configure modules instead of TOML files. Target configs (boot, kernel-mode, user-mode) now moved to separate TOML files under `configs/` and can inherit from one another.
36 lines
530 B
TOML
36 lines
530 B
TOML
extends = "base"
|
|
|
|
[variables]
|
|
|
|
ld = "clang++"
|
|
|
|
ccflags = [
|
|
"-I${source_root}/external",
|
|
"--target=x86_64-unknown-windows",
|
|
"-ffreestanding",
|
|
"-mno-red-zone",
|
|
"-fshort-wchar",
|
|
"-fno-omit-frame-pointer",
|
|
"-ggdb",
|
|
"-g3",
|
|
'-DKERNEL_FILENAME=L"jsix.elf"',
|
|
]
|
|
|
|
|
|
cflags = [
|
|
]
|
|
|
|
cxxflags = [
|
|
"-fno-exceptions",
|
|
"-fno-rtti",
|
|
]
|
|
|
|
ldflags = [
|
|
"--target=x86_64-unknown-windows",
|
|
"-nostdlib",
|
|
"-Wl,-entry:efi_main",
|
|
"-Wl,-subsystem:efi_application",
|
|
"-fuse-ld=lld-link",
|
|
"-g"
|
|
]
|