summaryrefslogtreecommitdiff
path: root/payloads/external
diff options
context:
space:
mode:
authorMaximilian Brune <maximilian.brune@9elements.com>2023-07-24 18:35:27 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-07-25 19:47:49 +0000
commitaad4199670f740ee512f5f1b42e45610f41f2c1a (patch)
treeb6a3c982caf3b26142fb2f970ad6c045e1731fbf /payloads/external
parent80d54498560dc2c8fb03b7fbd755364eb2fd94c7 (diff)
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 <maximilian.brune@9elements.com> Change-Id: Ieb7aac672072858e0d6811628887f6a9eb9a8cb1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76715 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/external')
-rw-r--r--payloads/external/LinuxBoot/Makefile2
1 files changed, 2 insertions, 0 deletions
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