summaryrefslogtreecommitdiffhomepage
path: root/dev/user/libsci.json
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-27 17:24:21 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-27 17:24:21 +0100
commitb8f7ef086d1d1b1cd686fff04d0a587f8fd39d81 (patch)
treeb6c2eb3ca2c51dc87ddd81b6170d5f63eabb9090 /dev/user/libsci.json
parenteb86df50ec5afb392998e2e171de54e1f26d8e7a (diff)
add: new driver device kit API. (DDK)
refactor: rename SCIKit -> user (then libuser.dylib) boot/modules/netboot: fixed compilation for amd64. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/user/libsci.json')
-rw-r--r--dev/user/libsci.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev/user/libsci.json b/dev/user/libsci.json
new file mode 100644
index 00000000..ed9a8739
--- /dev/null
+++ b/dev/user/libsci.json
@@ -0,0 +1,20 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-g++",
+ "compiler_std": "c++20",
+ "headers_path": ["../", "./"],
+ "sources_path": ["src/*.cc", "src/*.o"],
+ "output_name": "libuser.dylib",
+ "compiler_flags": [
+ "-fPIC",
+ "-ffreestanding",
+ "-shared",
+ "-fno-rtti",
+ "-fno-exceptions",
+ "-Wl,--subsystem=17"
+ ],
+ "cpp_macros": [
+ "kSCIVersion=0x0100",
+ "kSCIVersionHighest=0x0100",
+ "kSCIVersionLowest=0x0100"
+ ]
+}