[PATCH 1/2] x86: edison: Avoid passing FORCE to the align command
Simon Glass
sjg at chromium.org
Sat Jun 13 15:05:12 CEST 2026
Commit bd3f9ee679b4 ("kbuild: Bump the build system to 6.1") adds FORCE
as a prerequisite to the u-boot-align.bin rule, but cmd_mkalign_eds
expands $^, so FORCE leaks in as a stray operand. The dd then fails
(silently, since its stderr is discarded) and the following mv never
runs, so u-boot.bin never gains its 4096-byte zero prefix. The mask ROM
enters U-Boot 0x1000 (4KB) into the image and the board never starts,
sitting in BootROM download mode (DnX).
Use $< instead of $^, which excludes FORCE and restores the prefix.
Fixes: bd3f9ee679b4 ("kbuild: Bump the build system to 6.1")
Signed-off-by: Simon Glass <sjg at chromium.org>
---
board/intel/edison/config.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/intel/edison/config.mk b/board/intel/edison/config.mk
index 3afebf0f0b1..fff187caa15 100644
--- a/board/intel/edison/config.mk
+++ b/board/intel/edison/config.mk
@@ -7,8 +7,8 @@
# Add 4096 bytes of zeroes to u-boot.bin
quiet_cmd_mkalign_eds = EDSALGN $@
cmd_mkalign_eds = \
- dd if=$^ of=$@ bs=4k seek=1 2>/dev/null && \
- mv $@ $^
+ dd if=$< of=$@ bs=4k seek=1 2>/dev/null && \
+ mv $@ $<
INPUTS-y += u-boot-align.bin
u-boot-align.bin: u-boot.bin FORCE
--
2.43.0
More information about the U-Boot
mailing list