From aad4199670f740ee512f5f1b42e45610f41f2c1a Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Mon, 24 Jul 2023 18:35:27 +0200 Subject: [PATCH] payloads/external/Linuxboot/Makefile: Guard linux Makefile The linux.mk makefile needs to be guarded, because it introduces a dependency on the perl tooling. Signed-off-by: Maximilian Brune Change-Id: Ieb7aac672072858e0d6811628887f6a9eb9a8cb1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76715 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/external/LinuxBoot/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/payloads/external/LinuxBoot/Makefile b/payloads/external/LinuxBoot/Makefile index 9a9409eaa3..aaa076911f 100644 --- a/payloads/external/LinuxBoot/Makefile +++ b/payloads/external/LinuxBoot/Makefile @@ -14,7 +14,9 @@ build/Image: $(CONFIG_LINUXBOOT_KERNEL_PATH) ln -s -r $< $@ +ifeq ($(CONFIG_LINUXBOOT_COMPILE_KERNEL),y) include targets/linux.mk +endif ifeq ($(CONFIG_LINUXBOOT_UROOT),y) include targets/u-root.mk endif