diff options
| -rw-r--r-- | backends/platform/dc/dreamcast.mk | 11 | ||||
| -rw-r--r-- | backends/platform/dc/ip.txt.in | 11 | 
2 files changed, 20 insertions, 2 deletions
diff --git a/backends/platform/dc/dreamcast.mk b/backends/platform/dc/dreamcast.mk index c33867b7f4..cd0d4748bd 100644 --- a/backends/platform/dc/dreamcast.mk +++ b/backends/platform/dc/dreamcast.mk @@ -6,8 +6,7 @@ ronindir = /usr/local/ronin  CC := $(CXX)  ASFLAGS := $(CXXFLAGS) - -dist : SCUMMVM.BIN plugin_dist +dist : SCUMMVM.BIN IP.BIN plugin_dist  plugin_dist : plugins  	@[ -z "$(PLUGINS)" ] || for p in $(or $(PLUGINS),none); do \ @@ -24,4 +23,12 @@ SCUMMVM.BIN : scummvm.bin  scummvm.bin : scummvm.elf  	sh-elf-objcopy -S -R .stack -O binary $< $@ +IP.BIN : ip.txt +	makeip $< $@ + +ip.txt : $(srcdir)/backends/platform/dc/ip.txt.in +	if [ x"$(VER_EXTRA)" = xsvn ]; then \ +	  if [ -z "$(VER_SVNREV)" ]; then ver="SVN"; else ver="r$(VER_SVNREV)"; fi; \ +	else ver="V$(VERSION)"; fi; \ +	sed -e 's/[@]VERSION[@]/'"$$ver"/ -e 's/[@]DATE[@]/$(shell date '+%Y%m%d')/' < $< > $@ diff --git a/backends/platform/dc/ip.txt.in b/backends/platform/dc/ip.txt.in new file mode 100644 index 0000000000..23424e0950 --- /dev/null +++ b/backends/platform/dc/ip.txt.in @@ -0,0 +1,11 @@ +Hardware ID   : SEGA SEGAKATANA +Maker ID      : SEGA ENTERPRISES +Device Info   : 0000 CD-ROM1/1 +Area Symbols  : JUE +Peripherals   : E000F10 +Product No    : T0000 +Version       : @VERSION@ +Release Date  : @DATE@ +Boot Filename : SCUMMVM.BIN +SW Maker Name : The ScummVM team +Game Title    : ScummVM  | 
