coreboot/payloads/external/LinuxBoot
Maximilian Brune d233b6c903 payloads/external/LinuxBoot/Makefile: Fix build prerequisite
Sometimes during build you could get this error:
mkdir: cannot create directory 'build': File exists
make[1]: *** [Makefile:48: build] Error 1
make: *** [payloads/external/Makefile.mk:408: payloads/external/LinuxBoot/build/initramfs] Erro
make: *** Waiting for unfinished jobs....
    Test 6.3
    WWW        https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/linux-6.3.tar.xz

Usually this should not happen, because the 'build' target is an
order-only prerequisite, but I assume its still happening, because the
makefile is called twice during a Linuxboot build. Once for the Linux
kernel and once again for the initramfs.

A quick and dirty fix is to add a '-p' to the mkdir command.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I5663d1cb592bec6a8576347dd22223b382cd617f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87821
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-07-17 20:39:15 +00:00
..
arm64 payloads/external/LinuxBoot: Clean up 2023-07-23 18:24:39 +00:00
i386 payloads/external/LinuxBoot: Clean up 2023-07-23 18:24:39 +00:00
riscv payloads/external/LinuxBoot: Clean up 2023-07-23 18:24:39 +00:00
targets payloads/external/LinuxBoot/targets/u-root.mk: Add missing prerequisite 2025-07-17 20:39:10 +00:00
x86_64 payloads/external/LinuxBoot: Update x86_64 defconfig 2019-06-28 14:27:34 +00:00
empty.dts payloads/external/LinuxBoot: Clean up 2023-07-23 18:24:39 +00:00
Kconfig payloads/Linuxboot: Fix u-root build 2024-12-19 07:14:01 +00:00
Kconfig.name payloads/*/Kconfig.name: update documentation link 2023-01-17 15:20:24 +00:00
Makefile payloads/external/LinuxBoot/Makefile: Fix build prerequisite 2025-07-17 20:39:15 +00:00