diff options
Diffstat (limited to 'payloads/external')
-rw-r--r-- | payloads/external/LinuxBoot/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/payloads/external/LinuxBoot/Makefile b/payloads/external/LinuxBoot/Makefile index d12d323f5e..9a9409eaa3 100644 --- a/payloads/external/LinuxBoot/Makefile +++ b/payloads/external/LinuxBoot/Makefile @@ -13,7 +13,11 @@ LINUX_ARCH-$(CONFIG_LINUXBOOT_RISCV_RV64) = riscv build/Image: $(CONFIG_LINUXBOOT_KERNEL_PATH) ln -s -r $< $@ -include targets/linux.mk targets/u-root.mk + +include targets/linux.mk +ifeq ($(CONFIG_LINUXBOOT_UROOT),y) +include targets/u-root.mk +endif build/initramfs: $(CONFIG_LINUXBOOT_INITRAMFS_PATH) ifeq ($(CONFIG_LINUXBOOT_INITRAMFS_COMPRESSION_XZ),y) |