summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 54fa441..2b78eb6 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,8 @@ GRUB ?= grub-mkrescue
QEMUOPTS += -cdrom $(BIN)/$(ISO) \
-no-reboot \
- -drive format=raw,file=user/bin/forkman \
+ -drive format=raw,file=user/bin/initrd.tar \
+ -audiodev pa,id=speaker -machine pcspk-audiodev=speaker \
-serial mon:stdio \
-m 4G \
-name kern
@@ -55,5 +56,6 @@ $(BIN)/$(ISO): build config/grub.cfg
mkdir -p $(BIN)/iso/boot/grub
cp config/grub.cfg $(BIN)/iso/boot/grub
cp kernel/bin/kernel $(BIN)/iso/boot
+ cp user/bin/initrd.tar $(BIN)/iso/boot
$(GRUB) -o $(BIN)/$(ISO) bin/iso 2>/dev/null