Signed-off-by: RouxAntoine <antoinroux@hotmail.fr>
This commit is contained in:
RouxAntoine 2024-01-06 21:02:06 +01:00
parent e179a6c27b
commit 81f0b99d6d
Signed by: antoine
GPG Key ID: 098FB66FC0475E70

View File

@ -3,6 +3,8 @@
# aarch64
# x86_64
ARCH=x86_64
KERNEL_VERSION=5.11
CONFIG_FILE=$(wildcard ./kernel-config/*.config)
use-arch: ../out/arch-rootfs.ext4
ln -fs $< ../out/rootfs.ext4
@ -10,19 +12,18 @@ use-arch: ../out/arch-rootfs.ext4
use-ubuntu: ../out/ubuntu-22.04.ext4 ../out/ubuntu-22.04.id_rsa
ln -fs $< ../out/rootfs.ext4
use-kernel: ../out/vmlinux-5.10.204
use-kernel-amazon: ../out/vmlinux-5.10.204
ln -fs $< ../out/vmlinux
use-kernel-custom: ../out/vmlinux-5.11
use-kernel-custom: ../out/vmlinux-$(KERNEL_VERSION)
ln -fs $< ../out/vmlinux
../out/vmlinux-$(KERNEL_VERSION): ./kernel.sh $(CONFIG_FILE)
bash ./kernel.sh $(KERNEL_VERSION)
../out/vmlinux-5.10.204:
wget -O $@ https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.7/$(ARCH)/vmlinux-5.10.204
CONFIG_FILE=$(wildcard ./kernel-config/*.config)
../out/vmlinux-5.11: ./kernel.sh $(CONFIG_FILE)
bash ./kernel.sh 5.11
../out/arch-rootfs.ext4: ./arch-rootfs.sh
bash ./arch-rootfs.sh