[PULL 5/5] roms/hppa: Add build rules for hppa-firmware

deller@kernel.org posted 5 patches 8 months, 4 weeks ago
Maintainers: Richard Henderson <richard.henderson@linaro.org>
[PULL 5/5] roms/hppa: Add build rules for hppa-firmware
Posted by deller@kernel.org 8 months, 4 weeks ago
From: Helge Deller <deller@gmx.de>

Signed-off-by: Helge Deller <deller@gmx.de>
Suggested-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
 roms/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/roms/Makefile b/roms/Makefile
index 67f709ba2d..8e5d8d26a9 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -68,6 +68,7 @@ default help:
 	@echo "  opensbi32-generic  -- update OpenSBI for 32-bit generic machine"
 	@echo "  opensbi64-generic  -- update OpenSBI for 64-bit generic machine"
 	@echo "  qboot              -- update qboot"
+	@echo "  hppa-firmware      -- update 32- and 64-bit hppa firmware"
 	@echo "  clean              -- delete the files generated by the previous" \
 	                              "build targets"
 
@@ -177,6 +178,11 @@ npcm7xx_bootrom:
 	$(MAKE) -C vbootrom CROSS_COMPILE=$(arm_cross_prefix)
 	cp vbootrom/npcm7xx_bootrom.bin ../pc-bios/npcm7xx_bootrom.bin
 
+hppa-firmware:
+	$(MAKE) -C seabios-hppa parisc
+	cp seabios-hppa/out/hppa-firmware.img      ../pc-bios/
+	cp seabios-hppa/out-64/hppa-firmware64.img ../pc-bios/
+
 clean:
 	rm -rf seabios/.config seabios/out seabios/builds
 	$(MAKE) -C ipxe/src veryclean
@@ -189,3 +195,4 @@ clean:
 	$(MAKE) -C opensbi clean
 	$(MAKE) -C qboot clean
 	$(MAKE) -C vbootrom clean
+	$(MAKE) -C seabios-hppa clean
-- 
2.44.0
Re: [PULL 5/5] roms/hppa: Add build rules for hppa-firmware
Posted by Michael Tokarev 8 months, 3 weeks ago
03.03.2024 08:46, deller@kernel.org :
> From: Helge Deller <deller@gmx.de>
> 
> Signed-off-by: Helge Deller <deller@gmx.de>
> Suggested-by: Michael Tokarev <mjt@tls.msk.ru>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>

Thank you!

/mjt

>   roms/Makefile | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/roms/Makefile b/roms/Makefile
> index 67f709ba2d..8e5d8d26a9 100644
> --- a/roms/Makefile
> +++ b/roms/Makefile
> @@ -68,6 +68,7 @@ default help:
>   	@echo "  opensbi32-generic  -- update OpenSBI for 32-bit generic machine"
>   	@echo "  opensbi64-generic  -- update OpenSBI for 64-bit generic machine"
>   	@echo "  qboot              -- update qboot"
> +	@echo "  hppa-firmware      -- update 32- and 64-bit hppa firmware"
>   	@echo "  clean              -- delete the files generated by the previous" \
>   	                              "build targets"
>   
> @@ -177,6 +178,11 @@ npcm7xx_bootrom:
>   	$(MAKE) -C vbootrom CROSS_COMPILE=$(arm_cross_prefix)
>   	cp vbootrom/npcm7xx_bootrom.bin ../pc-bios/npcm7xx_bootrom.bin
>   
> +hppa-firmware:
> +	$(MAKE) -C seabios-hppa parisc
> +	cp seabios-hppa/out/hppa-firmware.img      ../pc-bios/
> +	cp seabios-hppa/out-64/hppa-firmware64.img ../pc-bios/
> +
>   clean:
>   	rm -rf seabios/.config seabios/out seabios/builds
>   	$(MAKE) -C ipxe/src veryclean
> @@ -189,3 +195,4 @@ clean:
>   	$(MAKE) -C opensbi clean
>   	$(MAKE) -C qboot clean
>   	$(MAKE) -C vbootrom clean
> +	$(MAKE) -C seabios-hppa clean