From: Richard W.M. Jones Date: Fri, 30 Jan 2015 15:47:31 +0000 (+0000) Subject: Add comments to Makefile. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=HEAD;p=rhbz1184405.git Add comments to Makefile. --- 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 \