git.annexia.org
/
rhbz1184405.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ee76e4
)
Add comments to Makefile.
master
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 30 Jan 2015 15:47:31 +0000
(15:47 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 30 Jan 2015 15:47:31 +0000
(15:47 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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 \