From 238748dd812605894c1f67879ba3c784f9181357 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 30 Jan 2015 15:47:31 +0000 Subject: [PATCH] Add comments to Makefile. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 1e3ea6e..d928aa9 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +# NB! Always use 'make clean' after changing these. kver = 3.19.0-0.rc4.57.sa2.aarch64 use_efi = 1 kernel = /boot/vmlinuz-$(kver) @@ -19,6 +20,8 @@ AAVMF_VARS.fd: touch $@ endif +# Build the initrd. + initrd: dev init $(modules) ls -1d $^ | cpio -o -H newc | gzip -9 > $@ @@ -40,6 +43,8 @@ init: init.c 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 \ -- 1.8.3.1