kernel: add vmlinux target to make kernel debugging easier

With this patch, it is easy to get an unstripped kernel object to use with
gdb.

Signed-off-by: David Sheets <dsheets@docker.com>
This commit is contained in:
David Sheets
2016-07-20 15:37:04 +01:00
parent 58625d3a1f
commit 25f3d06b7b

View File

@@ -14,6 +14,9 @@ aufs-utils.tar kernel-source-info kernel-patches.tar kernel-modules.tar: mobyker
vmlinuz64: aufs-utils.tar kernel-source-info kernel-patches.tar kernel-modules.tar mobykernel-build
docker run --rm mobykernel:build cat /linux/arch/x86_64/boot/bzImage > $@ || ! rm $@
vmlinux: vmlinuz64
docker run --rm mobykernel:build cat /linux/vmlinux > $@ || ! rm $@
arm: zImage
zImage: mobyarmkernel-build aufs-utils.tar kernel-source-info kernel-patches.tar kernel-modules.tar