So we can try alternate kernels more easily.
kver = 3.19.0-0.rc4.57.sa2.aarch64
use_efi = 1
kernel = /boot/vmlinuz-$(kver)
+moddir = /lib/modules/$(kver)
qemu = /usr/libexec/qemu-kvm
modules = virtio.ko virtio_ring.ko virtio_mmio.ko virtio_scsi.ko
disks = sda.img sdb.img sdc.img sdd.img sde.img sdf.img
mkdir $@
%.ko:
- find /lib/modules/$(kver) -name $@ -exec cp {} . \;
+ find $(moddir) -name $@ -exec cp {} . \;
init: init.c
gcc -Wall -Werror -static $< -o $@