aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-01-24 19:09:27 +0100
committerHelge Deller <deller@gmx.de>2024-01-24 19:09:27 +0100
commit47ba4b64f7c921ed38c7d9856f62d4e3f3292010 (patch)
tree59337d7822c8d696eb26832b7c5e1a835b746204 /Makefile
parent4ae06036d2585e595051b200c815829aecb1ca25 (diff)
downloadseabios-hppa-47ba4b64f7c921ed38c7d9856f62d4e3f3292010.zip
seabios-hppa-47ba4b64f7c921ed38c7d9856f62d4e3f3292010.tar.gz
seabios-hppa-47ba4b64f7c921ed38c7d9856f62d4e3f3292010.tar.bz2
parisc: Add parisc-qemu-install Makefile target
copies the 32- and 64-bit firmware into the qemu pc-bios directory. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ecea65e..231c809 100644
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,11 @@ endif
DIRS="" OUT=out/ BITS=32 BIT_SUFFIX="" CROSS_PREFIX=hppa-linux-gnu- $(MAKE) -f Makefile.parisc all
DIRS="" OUT=out-64/ BITS=64 BIT_SUFFIX="64" CROSS_PREFIX=hppa64-linux-gnu- $(MAKE) -f Makefile.parisc all
+# Install parisc firmware into qemu pc-bios directory
+parisc-qemu-install: parisc
+ hppa-linux-gnu-objcopy -S out/hppa-firmware.img ../../pc-bios/hppa-firmware.img
+ hppa64-linux-gnu-objcopy -S out-64/hppa-firmware64.img ../../pc-bios/hppa-firmware64.img
+
# Make definitions
.PHONY : all clean distclean parisc FORCE
.DELETE_ON_ERROR: