diff mbox series

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

Message ID 20240303054645.3004-6-deller@kernel.org (mailing list archive)
State New, archived
Headers show
Series [PULL,1/5] target: hppa: Fix unaligned double word accesses for hppa64 | expand

Commit Message

Helge Deller March 3, 2024, 5:46 a.m. UTC
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(+)

Comments

Michael Tokarev March 4, 2024, 9:57 a.m. UTC | #1
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
diff mbox series

Patch

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