From 617d73fc9eff5b08a80b873fd97f66caa7e80fc9 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 15 Jul 2021 21:16:42 +0200 Subject: added dockerfile for kernel dev --- content/20191027-kernel-debugging-qemu/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 content/20191027-kernel-debugging-qemu/Makefile (limited to 'content/20191027-kernel-debugging-qemu/Makefile') diff --git a/content/20191027-kernel-debugging-qemu/Makefile b/content/20191027-kernel-debugging-qemu/Makefile new file mode 100644 index 0000000..11e7c7b --- /dev/null +++ b/content/20191027-kernel-debugging-qemu/Makefile @@ -0,0 +1,12 @@ +build: + scripts/build_kernel.sh + scripts/build_initrd.sh + +clean: + $(RM) -r linux-* + $(RM) -r busybox-* + $(RM) initramfs.cpio.gz + +docker: + DOCKER_BUILDKIT=1 docker build -t kernel-dev . + docker run -it --rm -v $(PWD):/develop/scripts -v $(PWD)/Makefile:/develop/Makefile kernel-dev -- cgit v1.2.3