payloads/external/Linuxboot/Makefile: Guard u-root Makefile

The u-root.mk makefile needs to be guarded, because it introduces a
dependency on the go tooling.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: Ia89e4e7b9a1f73a7b622eeaa8d6148d99f9b327a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76714
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marvin Drees <marvin.drees@9elements.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Maximilian Brune 2023-07-24 18:08:07 +02:00 committed by Stefan Reinauer
parent 93aa0903a0
commit 6dce55ea7d
1 changed files with 5 additions and 1 deletions

View File

@ -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)