diff options
| author | Chloe M. <chloe@aptel.org> | 2026-08-20 06:05:20 +0000 |
|---|---|---|
| committer | Chloe M. <chloe@aptel.org> | 2026-08-20 06:05:20 +0000 |
| commit | 968f5521418f14c1a8f0232e7ad4e1ba0fdcf628 (patch) | |
| tree | 12b99c440f0f8bf2de58d2c62382c8f88d42ea3e /boot/arch/amd64 | |
| parent | ae526fa3375b708d4380d0227e27d32e06b40b92 (diff) | |
build: Generate boot filesystem via RDAR
Signed-off-by: Chloe M. <chloe@aptel.org>
Diffstat (limited to 'boot/arch/amd64')
| -rw-r--r-- | boot/arch/amd64/mbr/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/boot/arch/amd64/mbr/Makefile b/boot/arch/amd64/mbr/Makefile index f41e5cc..9ea0a6f 100644 --- a/boot/arch/amd64/mbr/Makefile +++ b/boot/arch/amd64/mbr/Makefile @@ -13,4 +13,7 @@ all: mbr .PHONY: mbr mbr: - clang -Tlink.ld $(CFLAGS) mbr.S -o $(GLOBAL_PROJECT_ROOT)/artifacts/mbr.bin + clang -Tlink.ld $(CFLAGS) mbr.S -o mbr.bin + $(GLOBAL_PROJECT_ROOT)/host/bootfs.sh + cat mbr.bin bootfs.rdar >$(GLOBAL_PROJECT_ROOT)/artifacts/mbr.bin + rm -f mbr.bin |
