hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-11 02:16:56 +0200
committerhachem <im@hachem.wtf>2026-10-11 02:16:56 +0200
commit59794d0b999e544a94230d9562bf2b99d2ed74c7 (patch)
treea001db5b5ebb9453d6a0e96f56b36e6ec3ccdd51 /build.zig
parent88750ed7132c08bcfb24e878c893ef7185c3c0b0 (diff)
feat: actual real vfs, not a faked one lmao
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 98bac24..e625977 100644
--- a/build.zig
+++ b/build.zig
@@ -89,6 +89,11 @@ pub fn build(b: *std.Build) void {
bridge_mod.addAnonymousImport("k_gils_" ++ g, .{ .root_source_file = b.path("gils/" ++ g ++ ".rv") });
}
+ // /etc/ bullshit
+ inline for (.{ "motd", "profile", "lung" }) |name| {
+ bridge_mod.addAnonymousImport("k_etc_" ++ name, .{ .root_source_file = b.path("etc/" ++ name) });
+ }
+
kernel.root_module.addImport("bridge", bridge_mod);
inline for (.{