From 0ace40b679b596607f3fc975f97c4eca8cb31864 Mon Sep 17 00:00:00 2001 From: Liang Yi Date: Mon, 18 Jan 2021 02:54:15 +0800 Subject: [PATCH] hv: modularization: move multiboot files to dedicate sub-directory Create a multiboot module under the boot directory and move multiboot files as part of this. Tracked-On: #5661 Signed-off-by: Vijay Dhanraj Reviewed-by: Jason Chen CJ --- hypervisor/Makefile | 4 ++-- hypervisor/boot/{ => multiboot}/multiboot.c | 0 hypervisor/boot/{ => multiboot}/multiboot2.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename hypervisor/boot/{ => multiboot}/multiboot.c (100%) rename hypervisor/boot/{ => multiboot}/multiboot2.c (100%) diff --git a/hypervisor/Makefile b/hypervisor/Makefile index 0f2c04145..8408c0a00 100644 --- a/hypervisor/Makefile +++ b/hypervisor/Makefile @@ -193,9 +193,9 @@ endif # platform boot component BOOT_S_SRCS += arch/x86/boot/cpu_primary.S BOOT_S_SRCS += arch/x86/boot/trampoline.S -BOOT_C_SRCS += boot/multiboot.c +BOOT_C_SRCS += boot/multiboot/multiboot.c ifeq ($(CONFIG_MULTIBOOT2),y) -BOOT_C_SRCS += boot/multiboot2.c +BOOT_C_SRCS += boot/multiboot/multiboot2.c endif BOOT_C_SRCS += boot/reloc.c BOOT_C_SRCS += arch/x86/ptcm.c diff --git a/hypervisor/boot/multiboot.c b/hypervisor/boot/multiboot/multiboot.c similarity index 100% rename from hypervisor/boot/multiboot.c rename to hypervisor/boot/multiboot/multiboot.c diff --git a/hypervisor/boot/multiboot2.c b/hypervisor/boot/multiboot/multiboot2.c similarity index 100% rename from hypervisor/boot/multiboot2.c rename to hypervisor/boot/multiboot/multiboot2.c