diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index dd84525eb4..aef943cfd3 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -714,6 +714,11 @@ toolsdir='\$(ROOTDIR)/tools' | |||
714 | # toolset is the tools within the tools directory that we build for | 714 | # toolset is the tools within the tools directory that we build for |
715 | # this particular target. | 715 | # this particular target. |
716 | toolset="$iaudiobitmaptools" | 716 | toolset="$iaudiobitmaptools" |
717 | |||
718 | # architecture, manufacturer and model for the target-tree build | ||
719 | t_cpu="coldfire" | ||
720 | t_manufactorer="iaudio" | ||
721 | t_model="x5" | ||
717 | ;; | 722 | ;; |
718 | 723 | ||
719 | 13) | 724 | 13) |
@@ -1075,6 +1080,13 @@ sed > autoconf.h \ | |||
1075 | #endif /* __BUILD_AUTOCONF_H */ | 1080 | #endif /* __BUILD_AUTOCONF_H */ |
1076 | EOF | 1081 | EOF |
1077 | 1082 | ||
1083 | if test -n "$t_cpu"; then | ||
1084 | TARGET_INC="-I\$(FIRMDIR)/target/$t_cpu/$t_manufactorer/$t_model" | ||
1085 | TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufactorer" | ||
1086 | TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu" | ||
1087 | GCCOPTS="$GCCOPTS -DTARGET_TREE" | ||
1088 | fi | ||
1089 | |||
1078 | if test "$simulator" = "yes"; then | 1090 | if test "$simulator" = "yes"; then |
1079 | # add simul make stuff on the #SIMUL# line | 1091 | # add simul make stuff on the #SIMUL# line |
1080 | simmagic1="s,@SIMUL1@,@\$(MAKE) -C \$(SIMDIR) OBJDIR=\$(BUILDDIR)/sim," | 1092 | simmagic1="s,@SIMUL1@,@\$(MAKE) -C \$(SIMDIR) OBJDIR=\$(BUILDDIR)/sim," |
@@ -1116,6 +1128,7 @@ sed > Makefile \ | |||
1116 | -e "s,@CODECS@,${codecs},g" \ | 1128 | -e "s,@CODECS@,${codecs},g" \ |
1117 | -e "s,@PROFILE_OPTS@,${PROFILE_OPTS},g" \ | 1129 | -e "s,@PROFILE_OPTS@,${PROFILE_OPTS},g" \ |
1118 | -e "s,@GCCOPTS@,${GCCOPTS},g" \ | 1130 | -e "s,@GCCOPTS@,${GCCOPTS},g" \ |
1131 | -e "s,@TARGET_INC@,${TARGET_INC},g" \ | ||
1119 | -e "s!@LDOPTS@!${LDOPTS}!g" \ | 1132 | -e "s!@LDOPTS@!${LDOPTS}!g" \ |
1120 | -e "s,@LOADADDRESS@,${loadaddress},g" \ | 1133 | -e "s,@LOADADDRESS@,${loadaddress},g" \ |
1121 | -e "s,@EXTRADEF@,${extradefines},g" \ | 1134 | -e "s,@EXTRADEF@,${extradefines},g" \ |
@@ -1178,6 +1191,7 @@ export DLLWRAP=@DLLWRAP@ | |||
1178 | export RANLIB=@RANLIB@ | 1191 | export RANLIB=@RANLIB@ |
1179 | export PROFILE_OPTS=@PROFILE_OPTS@ | 1192 | export PROFILE_OPTS=@PROFILE_OPTS@ |
1180 | export GCCOPTS=@GCCOPTS@ | 1193 | export GCCOPTS=@GCCOPTS@ |
1194 | export TARGET_INC=@TARGET_INC@ | ||
1181 | export LOADADDRESS=@LOADADDRESS@ | 1195 | export LOADADDRESS=@LOADADDRESS@ |
1182 | export SIMVER=@SIMVER@ | 1196 | export SIMVER=@SIMVER@ |
1183 | export SIMDIR=\$(ROOTDIR)/uisimulator/\$(SIMVER) | 1197 | export SIMDIR=\$(ROOTDIR)/uisimulator/\$(SIMVER) |