Commit 954ec2c0 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

images: split build target for kernel out to fix parallel build issues

parent 41eb2bbd
......@@ -30,9 +30,14 @@ packer:
################################################
# Kernel
vmlinux bzImage &: kernel/linux-$(KERNEL_VERSION)
kernel/linux-$(KERNEL_VERSION)/vmlinux: kernel/linux-$(KERNEL_VERSION)
$(MAKE) -C kernel/linux-$(KERNEL_VERSION)
vmlinux: kernel/linux-$(KERNEL_VERSION)/vmlinux
cp kernel/linux-$(KERNEL_VERSION)/vmlinux vmlinux
# this dependency is a bit stupid, but not sure how to better do this
bzImage: kernel/linux-$(KERNEL_VERSION)/vmlinux
cp kernel/linux-$(KERNEL_VERSION)/arch/x86_64/boot/bzImage bzImage
kernel/linux-$(KERNEL_VERSION):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment