summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/Mod/NetBoot/build.json
diff options
context:
space:
mode:
Diffstat (limited to 'dev/boot/Mod/NetBoot/build.json')
-rw-r--r--dev/boot/Mod/NetBoot/build.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev/boot/Mod/NetBoot/build.json b/dev/boot/Mod/NetBoot/build.json
new file mode 100644
index 00000000..2c92567d
--- /dev/null
+++ b/dev/boot/Mod/NetBoot/build.json
@@ -0,0 +1,24 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-g++",
+ "compiler_std": "c++20",
+ "headers_path": ["../", "../../", "../../../kernel", "../../../", "./"],
+ "sources_path": [".cc", "*.S"],
+ "output_name": "netboot.sys",
+ "compiler_flags": [
+ "-ffreestanding",
+ "-nostdlib",
+ "-std=c++20",
+ "-fPIC",
+ "-fno-rtti",
+ "-fno-exceptions",
+ "-Wl,--subsystem=17,--image-base,0x10000000,-e,ModuleMain"
+ ],
+ "cpp_macros": [
+ "__NEOSKRNL__",
+ "__BOOTZ__",
+ "__NE_AMD64__",
+ "kNetBootVersionHighest=0x0100",
+ "kNetBootVersionLowest=0x0100",
+ "kNetBootVersion=0x0100"
+ ]
+}