Skip to contentSkip to conversation

roms/Makefile: fix npcmNxx_bootrom build rules

PATCH In review Michael Tokarev 2 participants 3 messages Jul 27, 2025 – Jul 29, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 roms/Makefile: fix npcmNxx_bootrom build rules

Since commit 70ce076fa6dff60, the actual rom source dirs are subdirs of vbootrom/ submodule, not in top-level of it.

Fixes 70ce076fa6dff60 "roms: Update vbootrom to 1287b6e"
---
 roms/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
roms/Makefile +4 -4
index beff58d9d5..6af68a922f 100644
@@ -193,12 +193,12 @@ qboot:
 	cp qboot/build/bios.bin ../pc-bios/qboot.rom
 
 npcm7xx_bootrom:
-	$(MAKE) -C vbootrom CROSS_COMPILE=$(arm_cross_prefix)
-	cp vbootrom/npcm7xx_bootrom.bin ../pc-bios/npcm7xx_bootrom.bin
+	$(MAKE) -C vbootrom/npcm7xx CROSS_COMPILE=$(arm_cross_prefix)
+	cp vbootrom/npcm7xx/npcm7xx_bootrom.bin ../pc-bios/npcm7xx_bootrom.bin
 
 npcm8xx_bootrom:
-	$(MAKE) -C vbootrom CROSS_COMPILE=$(aarch64_cross_prefix)
-	cp vbootrom/npcm8xx_bootrom.bin ../pc-bios/npcm8xx_bootrom.bin
+	$(MAKE) -C vbootrom/npcm8xx CROSS_COMPILE=$(aarch64_cross_prefix)
+	cp vbootrom/npcm8xx/npcm8xx_bootrom.bin ../pc-bios/npcm8xx_bootrom.bin
 
 hppa-firmware:
 	$(MAKE) -C seabios-hppa parisc
Signature · 1 line
2.47.2
#1 lore raw
Quoted 6 lines · Michael Tokarev

Since commit 70ce076fa6dff60, the actual rom source dirs are subdirs of vbootrom/ submodule, not in top-level of it.

Fixes 70ce076fa6dff60 "roms: Update vbootrom to 1287b6e"
Cc qemu-stable@ (for 10.0.x)

/mjt

Reviewed-by Tested-by on v1 1/1
#2 lore raw
In reply to Michael Tokarev
Quoted 18 lines · Michael Tokarev

Since commit 70ce076fa6dff60, the actual rom source dirs are subdirs of vbootrom/ submodule, not in top-level of it.

Fixes 70ce076fa6dff60 "roms: Update vbootrom to 1287b6e"
---
  roms/Makefile | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
roms/Makefile +0 -0
index beff58d9d5..6af68a922f 100644
@@ -193,12 +193,12 @@ qboot:
  	cp qboot/build/bios.bin ../pc-bios/qboot.rom
 
  npcm7xx_bootrom:

roms/Makefile qboot: · line 201

Quoted 10 lines
roms/Makefile +4 -4
-	$(MAKE) -C vbootrom CROSS_COMPILE=$(arm_cross_prefix)
-	cp vbootrom/npcm7xx_bootrom.bin ../pc-bios/npcm7xx_bootrom.bin
+	$(MAKE) -C vbootrom/npcm7xx CROSS_COMPILE=$(arm_cross_prefix)
+	cp vbootrom/npcm7xx/npcm7xx_bootrom.bin ../pc-bios/npcm7xx_bootrom.bin
 
  npcm8xx_bootrom:
-	$(MAKE) -C vbootrom CROSS_COMPILE=$(aarch64_cross_prefix)
-	cp vbootrom/npcm8xx_bootrom.bin ../pc-bios/npcm8xx_bootrom.bin
+	$(MAKE) -C vbootrom/npcm8xx CROSS_COMPILE=$(aarch64_cross_prefix)
+	cp vbootrom/npcm8xx/npcm8xx_bootrom.bin ../pc-bios/npcm8xx_bootrom.bin

(note: not working on macOS, only Linux)

Queued adding:

Fixes 269b7effd90 ("pc-bios: Add NPCM8XX vBootrom")

Thanks!