Update Makefile

This commit is contained in:
Gregory Lirent 2024-07-26 14:41:19 +03:00
parent 39540eab75
commit ecd826d515
Signed by: lirent
GPG Key ID: F616BE337EFFEE77

View File

@ -16,19 +16,19 @@ qemu.build: kernel.prepare
kernel.prepare: | submodule
mkdir -p $(BUILD_DIR)/kernel/patches
mkdir -p $(BUILD_DIR)/kernel/patches/kernel
ln -sf $$(readlink -f submodules/pve-kernel/debian) $(BUILD_DIR)/kernel/
ln -sf $$(readlink -f submodules/pve-kernel/submodules) $(BUILD_DIR)/kernel/
cp submodules/pve-kernel/* $(BUILD_DIR)/kernel/
cp -r submodules/pve-kernel/patches/* $(BUILD_DIR)/kernel/patches
cp -r submodules/pve-kernel/patches/kernel/* $(BUILD_DIR)/kernel/patches/kernel
cp -r patches/kernel/* $(BUILD_DIR)/kernel/patches/kernel
cp submodules/pve-kernel/* $(BUILD_DIR)/kernel/
qemu.prepare: | submodule
mkdir -p $(BUILD_DIR)/qemu/debian/
ln -sf $$(readlink -f submodules/pve-qemu/qemu) $(BUILD_DIR)/qemu/
cp submodules/pve-qemu/* $(BUILD_DIR)/qemu/
cp -r submodules/pve-qemu/debian/* $(BUILD_DIR)/qemu/debian
cp -r patches/qemu/* $(BUILD_DIR)/qemu/debian/patches/pve
cp submodules/pve-qemu/* $(BUILD_DIR)/qemu/
.PHONY: submodule
submodule: