aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/20191027-kernel-debugging-qemu/Makefile
blob: 11e7c7b66a6caad87c8620637481813775370b7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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