summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure14
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 */
1076EOF 1081EOF
1077 1082
1083if 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"
1088fi
1089
1078if test "$simulator" = "yes"; then 1090if 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@
1178export RANLIB=@RANLIB@ 1191export RANLIB=@RANLIB@
1179export PROFILE_OPTS=@PROFILE_OPTS@ 1192export PROFILE_OPTS=@PROFILE_OPTS@
1180export GCCOPTS=@GCCOPTS@ 1193export GCCOPTS=@GCCOPTS@
1194export TARGET_INC=@TARGET_INC@
1181export LOADADDRESS=@LOADADDRESS@ 1195export LOADADDRESS=@LOADADDRESS@
1182export SIMVER=@SIMVER@ 1196export SIMVER=@SIMVER@
1183export SIMDIR=\$(ROOTDIR)/uisimulator/\$(SIMVER) 1197export SIMDIR=\$(ROOTDIR)/uisimulator/\$(SIMVER)