aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/20191027-kernel-debugging-qemu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'content/20191027-kernel-debugging-qemu/Makefile')
-rw-r--r--content/20191027-kernel-debugging-qemu/Makefile12
1 files changed, 12 insertions, 0 deletions
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