+# NB! Always use 'make clean' after changing these.
kver = 3.19.0-0.rc4.57.sa2.aarch64
use_efi = 1
kernel = /boot/vmlinuz-$(kver)
touch $@
endif
+# Build the initrd.
+
initrd: dev init $(modules)
ls -1d $^ | cpio -o -H newc | gzip -9 > $@
clean:
rm -f *~ $(disks) $(modules) init initrd AAVMF_VARS.fd
+# Run qemu -kernel -initrd.
+
run: initrd $(disks) AAVMF_VARS.fd
$(qemu) \
-nodefconfig -nodefaults -display none \