From: Christian G. <sa...@us...> - 2013-03-27 23:11:19
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An ethernet program loader for the Dreamcast.". The branch, master has been updated via c32cdb3fbf9d099b52d8e98f46e781b61f21df78 (commit) from 9007aa015d0ef84b25ff693848866396f904dae8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c32cdb3fbf9d099b52d8e98f46e781b61f21df78 Author: Christian Groessler <ch...@gr...> Date: Thu Mar 28 00:07:47 2013 +0100 set TARGETCCVER (needed for example-src/); introduce SHTOOLS (SH compiler installation directory) ----------------------------------------------------------------------- Summary of changes: Makefile.cfg | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile.cfg b/Makefile.cfg index 26e8fc8..6a37ea0 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -23,10 +23,18 @@ BFDINCLUDE = /opt/dc/sh-elf/include #BFDINCLUDE = /usr/local/include # sh-elf-stuff -TARGETCC = sh-elf-gcc +# if you have the SH compiler in your path you can leave SHTOOLS empty, +# otherwise set it to the bin directory of your SH compiler installation +# (include trailing slash) +#SHTOOLS = /opt/dcgcc-4.7.0/sh-elf/bin/ +SHTOOLS = +TARGETCC = $(SHTOOLS)sh-elf-gcc TARGETCFLAGS = -O2 -ml -m4-single-only -TARGETOBJCOPY = sh-elf-objcopy -TARGETLD = sh-elf-ld +TARGETOBJCOPY = $(SHTOOLS)sh-elf-objcopy +TARGETLD = $(SHTOOLS)sh-elf-ld +# set TARGETCCVER to 3 or 4, depending on your SH compiler version (gcc 3.x or gcc 4.x) +# this line tries to detect the version automatically +TARGETCCVER = $(shell $(TARGETCC) --version | head -1 | sed "s/.* \([[:digit:]][[:digit:]]*\)\.[[:digit:]][[:digit:]]*\.[[:digit:]][[:digit:]]*.*/\1/") # you generally shouldn't change this unless you are making forked # versions (or test versions) hooks/post-receive -- An ethernet program loader for the Dreamcast. |