Revision 053dd92e

b/configure
1982 1982
  ;;
1983 1983
esac
1984 1984
echo "TARGET_ARCH=$TARGET_ARCH" >> $config_mak
1985
target_arch_name="`echo $TARGET_ARCH | tr '[:lower:]' '[:upper:]'`"
1986
echo "TARGET_$target_arch_name=y" >> $config_mak
1985 1987
echo "TARGET_ARCH2=$target_arch2" >> $config_mak
1986 1988
# TARGET_BASE_ARCH needs to be defined after TARGET_ARCH
1987 1989
if [ "$TARGET_BASE_ARCH" = "" ]; then
b/create_config
55 55
    ;;
56 56
 TARGET_ARCH=*) # configuration
57 57
    target_arch=${line#*=}
58
    arch_name=`echo $target_arch | tr '[:lower:]' '[:upper:]'`
59 58
    echo "#define TARGET_ARCH \"$target_arch\""
60
    echo "#define TARGET_$arch_name 1"
61 59
    ;;
62 60
 TARGET_BASE_ARCH=*) # configuration
63 61
    target_base_arch=${line#*=}

Also available in: Unified diff