aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.bat
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/configure.bat')
-rwxr-xr-xbinutils/configure.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils/configure.bat b/binutils/configure.bat
new file mode 100755
index 0000000..8479378
--- /dev/null
+++ b/binutils/configure.bat
@@ -0,0 +1,18 @@
+@echo off
+if "%1" == "go32" goto h8300
+if "%1" == "h8/300" goto h8300
+echo Specify one of [ go32 h8/300 ] on command line
+goto exit
+
+:go32
+echo Configuring binutils for go32
+copy ..\bfd\hosts\h-go32.h sysdep.h
+copy Makefile.dos Makefile
+goto exit
+
+:h8300
+echo Configuring binutils for H8/300
+copy ..\bfd\hosts\h-go32.h sysdep.h
+copy Makefile.dos Makefile
+
+:exit