summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-13 23:47:48 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-13 23:47:48 +0100
commit01d1a73608551e2f54d5f3a7b0f80ea4210b2133 (patch)
treea0e62c0b1fed67fb641a09b5cfe818aee2700e1a
parent2fa37c00197b42c3c6f1bc2f26d50a661ae97927 (diff)
feat: Configuration additions and configuration improvements. (tooling).
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--config/config.h.in16
-rw-r--r--config/nestd.h.in8
-rwxr-xr-xconfigure-gcc-n64.pl2
-rwxr-xr-xconfigure-mingw-n64.pl2
-rw-r--r--tools/libconf.pl (renamed from libconf.pl)0
5 files changed, 26 insertions, 2 deletions
diff --git a/config/config.h.in b/config/config.h.in
new file mode 100644
index 0000000..1b22387
--- /dev/null
+++ b/config/config.h.in
@@ -0,0 +1,16 @@
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (see LICENSE file)
+// Official repository: https://github.com/nekernel-org/src
+
+#pragma once
+
+#include @_TYPES_INCLUDE@
+
+#define _ARCH @_ARCH_VER@
+#define _SUBSYSTEM_NET @_NET_VER@
+#define _SUBSYSTEM_DDK @_DDK_VER@
+#define _SUBSYSTEM_SYS @_SYS_VER@
+#define _NEKERNEL @_NEKERNEL_VER@
+
+
+
diff --git a/config/nestd.h.in b/config/nestd.h.in
new file mode 100644
index 0000000..49bae9f
--- /dev/null
+++ b/config/nestd.h.in
@@ -0,0 +1,8 @@
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (see LICENSE file)
+// Official repository: https://github.com/nekernel-org/src
+
+#pragma once
+
+#include @_NESTD_PRELUDE@
+#include @_NESTD_PATH@
diff --git a/configure-gcc-n64.pl b/configure-gcc-n64.pl
index 9a9b815..1363c49 100755
--- a/configure-gcc-n64.pl
+++ b/configure-gcc-n64.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-require './libconf.pl';
+require './tools/libconf.pl';
libconf->new();
diff --git a/configure-mingw-n64.pl b/configure-mingw-n64.pl
index 6026ef0..18eb96e 100755
--- a/configure-mingw-n64.pl
+++ b/configure-mingw-n64.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-require './libconf.pl';
+require './tools/libconf.pl';
libconf->new();
diff --git a/libconf.pl b/tools/libconf.pl
index 1a1bc7e..1a1bc7e 100644
--- a/libconf.pl
+++ b/tools/libconf.pl