diff options
author | Maximilian Brune <maximilian.brune@9elements.com> | 2023-07-24 18:08:07 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2023-07-24 17:06:13 +0000 |
commit | 6dce55ea7d64234908ff05fab68c0ecf00779811 (patch) | |
tree | 835ffd8da9ef1dc3845d67cbdf065fb3f39da11c /payloads | |
parent | 93aa0903a0d461b8eae0e6805d04cea6317278f1 (diff) |
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>
Diffstat (limited to 'payloads')
-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) |