summaryrefslogtreecommitdiffstats
path: root/payloads
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2023-08-16 14:09:43 +0200
committerMartin L Roth <gaumless@gmail.com>2023-08-17 15:07:34 +0000
commit599d46bbf4bbb6de080e11c3b7af25af5bc931be (patch)
tree6f427fa358899399743da2d3322c3449e344bec7 /payloads
parentdd50567579d248fb3d10c01b0c7ba739084b03de (diff)
downloadcoreboot-599d46bbf4bbb6de080e11c3b7af25af5bc931be.tar.gz
coreboot-599d46bbf4bbb6de080e11c3b7af25af5bc931be.tar.bz2
coreboot-599d46bbf4bbb6de080e11c3b7af25af5bc931be.zip
payloads/external/LinuxBoot: Fix build
Fix regression introduced in I25e757108e0dd473969fe5a192ad0733f1fe6286 "payloads/external/LinuxBoot: Clean up". Add creation of the build folder as necessary dependency. Change-Id: Ie76c914f6a705de0c275a05b5af82ac21243d522 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77202 Reviewed-by: Marvin Drees <marvin.drees@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/external/LinuxBoot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/external/LinuxBoot/Makefile b/payloads/external/LinuxBoot/Makefile
index aaa076911f47..397ffdcc5d45 100644
--- a/payloads/external/LinuxBoot/Makefile
+++ b/payloads/external/LinuxBoot/Makefile
@@ -10,7 +10,7 @@ LINUX_ARCH-$(CONFIG_LINUXBOOT_ARM64) = arm64
LINUX_ARCH-$(CONFIG_LINUXBOOT_RISCV_RV32) = riscv
LINUX_ARCH-$(CONFIG_LINUXBOOT_RISCV_RV64) = riscv
-build/Image: $(CONFIG_LINUXBOOT_KERNEL_PATH)
+build/Image: $(CONFIG_LINUXBOOT_KERNEL_PATH) | build
ln -s -r $< $@
@@ -21,7 +21,7 @@ ifeq ($(CONFIG_LINUXBOOT_UROOT),y)
include targets/u-root.mk
endif
-build/initramfs: $(CONFIG_LINUXBOOT_INITRAMFS_PATH)
+build/initramfs: $(CONFIG_LINUXBOOT_INITRAMFS_PATH) | build
ifeq ($(CONFIG_LINUXBOOT_INITRAMFS_COMPRESSION_XZ),y)
xz --keep --force --check=crc32 --lzma2=dict=1MiB $(CONFIG_LINUXBOOT_INITRAMFS_PATH)
endif