mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-02 18:51:40 +00:00
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:
@@ -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
|
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 $@
|
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
|
arm: zImage
|
||||||
|
|
||||||
zImage: mobyarmkernel-build aufs-utils.tar kernel-source-info kernel-patches.tar kernel-modules.tar
|
zImage: mobyarmkernel-build aufs-utils.tar kernel-source-info kernel-patches.tar kernel-modules.tar
|
||||||
|
|||||||
Reference in New Issue
Block a user