]> git.zerfleddert.de Git - fpga-games/commitdiff
build roms
authorMichael Gernoth <michael@gernoth.net>
Tue, 29 Apr 2008 13:52:00 +0000 (15:52 +0200)
committerMichael Gernoth <michael@gernoth.net>
Tue, 29 Apr 2008 13:52:00 +0000 (15:52 +0200)
galaxian/build_roms
galaxian/build_xst
galaxian/romgen/Makefile [new file with mode: 0644]

index a8371f8237009e8cf14d1c8a6d9324e6bee7f4ea..436b84cb4776db108252965c58e291196fe79890 100755 (executable)
@@ -1,5 +1,9 @@
 #!/bin/sh
 #!/bin/sh
-set -x
+set -x -e
+
+if [ ! -x "romgen/romgen" ]; then
+       make -C romgen romgen
+fi
 
 ./romgen/romgen roms/1h.bin GALAXIAN_1H 11 l r e >roms/galaxian_1h.vhd
 ./romgen/romgen roms/1k.bin GALAXIAN_1K 11 l r e >roms/galaxian_1k.vhd
 
 ./romgen/romgen roms/1h.bin GALAXIAN_1H 11 l r e >roms/galaxian_1h.vhd
 ./romgen/romgen roms/1k.bin GALAXIAN_1K 11 l r e >roms/galaxian_1k.vhd
index 4f203ca06e17c851d5f71aeb3a31ebaa53c08de0..afc41d98b04b2dfe4435ca9739ef251ee7c9b63f 100755 (executable)
@@ -4,7 +4,10 @@ set -x
 
 name=galaxian
 rom_path=roms/
 
 name=galaxian
 rom_path=roms/
-echo use build_xst /xil to skip synthesis stage.
+
+if [ ! -e "roms/galaxian_6l.vhd" ]; then
+       ./build_roms
+fi
 
 rm -rf build/
 mkdir -p build
 
 rm -rf build/
 mkdir -p build
diff --git a/galaxian/romgen/Makefile b/galaxian/romgen/Makefile
new file mode 100644 (file)
index 0000000..e31ccd2
--- /dev/null
@@ -0,0 +1 @@
+romgen: romgen.cpp
Impressum, Datenschutz