mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-28 18:15:41 +00:00
22167cc64d
'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>
14 lines
190 B
Makefile
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
|