1 # Configuration fragment for binutils.
3 Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
5 # (should canonicalize arch name) */
7 Set archname ARCH_{target_arch}
11 If "{target_canonical}" =~ /sh-hitachi-hms/
15 Echo '# From mpw-config.in' > "{o}"mk.tmp
16 Echo "ARCHDEFS = -d" {archname} >> "{o}"mk.tmp
17 Echo "UNDERSCORE = " {underscore} >> "{o}"mk.tmp
18 Echo "BUILD_NLMCONV = " >> "{o}"mk.tmp
19 Echo "BUILD_SRCONV = " >> "{o}"mk.tmp
20 Echo "SYSINFO_PROG = " >> "{o}"mk.tmp
21 Echo "BUILD_DLLTOOL = " >> "{o}"mk.tmp
22 Echo '# End from mpw-config.in' >> "{o}"mk.tmp
24 Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
25 Echo '#include "mpw.h"' >> "{o}"config.new
27 MoveIfChange "{o}"config.new "{o}"config.h