aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-02-24 03:58:22 +0530
committerBobby <[email protected]>2026-02-24 03:58:22 +0530
commit6a7363663f34a031f3138802eeab1d5e569a753d (patch)
tree705894cef49b9402b2c9460a85682bcebed376fd /Makefile
parent3df380d213dad9684cbe71003105fc53dd86a684 (diff)
downloadakiba-6a7363663f34a031f3138802eeab1d5e569a753d.tar.xz
akiba-6a7363663f34a031f3138802eeab1d5e569a753d.zip
commit for arch change
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 6a26c04..bee9f5a 100644
--- a/Makefile
+++ b/Makefile
@@ -146,7 +146,7 @@ prepare-filesystem: build-grub
@echo "→ Building kernel..."
@zig build --cache-dir $(BUILD_DIR)/cache --prefix $(BUILD_DIR)
- @mv $(BUILD_DIR)/bin/mirai.akibakernel $(FS_ROOT)/system/akiba/
+ @mv $(BUILD_DIR)/bin/mirai.kernel $(FS_ROOT)/system/akiba/
@echo "→ Building libraries..."
@mkdir -p $(BUILD_DIR)/lib $(FS_ROOT)/system/libraries
@@ -182,15 +182,12 @@ prepare-filesystem: build-grub
echo " Compiling $$sysname..."; \
$(BUILD_DIR)/bin/akibacompile "$$sysdir" "$(BUILD_DIR)/system/$$sysname" "system/libraries" && \
if [ "$$sysname" = "pulse" ]; then \
- echo " Creating pulse.akibainit..."; \
- $(BUILD_DIR)/bin/akibabuilder "$(BUILD_DIR)/system/$$sysname" "$(FS_ROOT)/system/akiba/pulse.akibainit" init && \
- echo " ✓ pulse.akibainit"; \
+ $(BUILD_DIR)/bin/akibabuilder "$(BUILD_DIR)/system/$$sysname" "$(FS_ROOT)/system/akiba/pulse.gen" init; \
else \
- echo " Wrapping $$sysname.akiba..."; \
mkdir -p "$(FS_ROOT)/system/$$sysname" && \
- $(BUILD_DIR)/bin/akibabuilder "$(BUILD_DIR)/system/$$sysname" "$(FS_ROOT)/system/$$sysname/$$sysname.akiba" cli && \
- echo " ✓ system/$$sysname/$$sysname.akiba"; \
- fi; \
+ $(BUILD_DIR)/bin/akibabuilder "$(BUILD_DIR)/system/$$sysname" "$(FS_ROOT)/system/$$sysname/$$sysname.gen" cli; \
+ fi && \
+ echo " ✓ $$sysname.gen"; \
fi; \
fi; \
done