Add comments to Makefile. master
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 30 Jan 2015 15:47:31 +0000 (15:47 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 30 Jan 2015 15:47:31 +0000 (15:47 +0000)
Makefile

index 1e3ea6e..d928aa9 100644 (file)
--- 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 \