diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-02 21:04:03 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-02 21:04:03 +1200 |
| commit | a2b8bb2cb77f401cd1ec17347f2c5cde90f10c11 (patch) | |
| tree | 11656896c565cb49b5b63b17e5672d8c8adbf7ba /Makefile | |
| parent | a4b99122ebb1fa64e41f76a22bde7aa0fb997d37 (diff) | |
| download | yerbalinux-a2b8bb2cb77f401cd1ec17347f2c5cde90f10c11.tar.xz yerbalinux-a2b8bb2cb77f401cd1ec17347f2c5cde90f10c11.zip | |
Add setup targets, and fix issue where Limine could be cloned but not built
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -121,13 +121,13 @@ $(LIMINE_DIR): $(EXTERNAL_DIR) echo "[yerba] cloning Limine..."; \ git clone --depth 1 --branch=$(LIMINE_BRANCH) $(LIMINE_REPO) $(LIMINE_DIR); \ fi - echo "[yerba] building Limine..." - $(MAKE) -C $(LIMINE_DIR) iso: kernel initramfs busybox rootfs $(LIMINE_DIR) @if [ -f $(ISO_PATH) ]; then \ echo "[yerba] iso already created, skipping..."; \ else \ + echo "[yerba] building Limine..."; \ + $(MAKE) -C $(LIMINE_DIR); \ echo "[yerba] bootstrapping Limine and creating ISO..."; \ mkdir -p $(ISO_ROOT)/boot/limine; \ mkdir -p $(ISO_ROOT)/EFI/BOOT; \ @@ -148,3 +148,6 @@ run: iso @echo "[yerba] booting in QEMU..." # qemu-system-x86_64 -kernel $(BUILD_DIR)/bzImage -initrd $(BUILD_DIR)/initramfs.cpio.gz -nographic -append "console=ttyS0" qemu-system-x86_64 -cdrom $(ISO_PATH) -m 2G -cpu host -enable-kvm + +setup: $(LINUX_DIR) $(LIMINE_DIR) $(BUSYBOX_DIR) + @echo "[yerba] all repos fetched" |
