summaryrefslogtreecommitdiffhomepage
path: root/tooling
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-30 14:42:35 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-30 14:42:35 +0200
commit86b89793dcaf290206faeb7fe3100dd0a5f71d1d (patch)
tree7ebb5128173f7b48b1e8629f6be031e62b6a5427 /tooling
parent0e92d4841f0d1b6a5f2e1b093d9d0b6864dfac93 (diff)
global: architectural changes, see commit details.
refactor: Refactor libSystem, user frameworks, and preparing for OpenMSG. feat: Jail info client structure (libSystem) feat: Document what the RTime is doing starting from line 504. feat: use `int 50` instead of `syscall` for now. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tooling')
-rwxr-xr-xtooling/mk_app.py2
-rwxr-xr-xtooling/mk_fwrk.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/tooling/mk_app.py b/tooling/mk_app.py
index 5ee6d5b7..7f7cef17 100755
--- a/tooling/mk_app.py
+++ b/tooling/mk_app.py
@@ -64,7 +64,7 @@ def create_directory_structure(base_path, project_name):
proj_cpp_path = os.path.join(base_path, project_name, f"src/CommandLine.cc")
- cpp_file = "#include <libSystem/System.h>\n\nSInt32 _NeMain(SInt32 argc, Char* argv[]) {\n\treturn EXIT_FAILURE;\n}"
+ cpp_file = "#include <libSystem/SystemKit/System.h>\n\nSInt32 _NeMain(SInt32 argc, Char* argv[]) {\n\treturn EXIT_FAILURE;\n}"
with open(proj_cpp_path, 'w') as cpp_file_io:
cpp_file_io.write(cpp_file)
diff --git a/tooling/mk_fwrk.py b/tooling/mk_fwrk.py
index e4e5d7de..b2ef99ff 100755
--- a/tooling/mk_fwrk.py
+++ b/tooling/mk_fwrk.py
@@ -56,7 +56,7 @@ def create_directory_structure(base_path_fwrk, project_file_name, project_name):
"sources_path": [
],
- "output_name": f"./dist/{project_name}",
+ "output_name": f"./dist/lib{project_name}.dylib",
"cpp_macros": [
"kSampleFWVersion=0x0100",
"kSampleFWVersionHighest=0x0100",
@@ -70,7 +70,7 @@ def create_directory_structure(base_path_fwrk, project_file_name, project_name):
proj_cpp_path = os.path.join(base_path_fwrk, project_name, f"src/DylibMain.cc")
- cpp_file = "#include <libSystem/System.h>\n\nSInt32 _DylibAttach(SInt32 argc, Char* argv[]) {\n\treturn EXIT_FAILURE;\n}"
+ cpp_file = "#include <libSystem/SystemKit/System.h>\n\nSInt32 _DylibAttach(SInt32 argc, Char* argv[]) {\n\treturn EXIT_FAILURE;\n}"
with open(proj_cpp_path, 'w') as cpp_file_io:
cpp_file_io.write(cpp_file)