Files
Sasha Levin 22167cc64d kvm tools: Add boot test to checks
'make check' will now try booting a kernel and will exit
gracefully once the kernel has finished loading.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
2015-06-01 16:39:43 +01:00

14 lines
190 B
Makefile

NAME := init
OBJ := $(NAME).o
all: $(.o)
rm -rf rootfs
mkdir rootfs
gcc -static init.c -o rootfs/init
mkisofs rootfs > boot_test.iso
clean:
rm -rf rootfs boot_test.iso
.PHONY: clean