Annotation of qemu/create_config, revision 1.1

1.1     ! root        1: #!/bin/sh
        !             2: 
        !             3: echo "/* Automatically generated by configure - do not modify */"
        !             4: echo "#include \"../config-host.h\""
        !             5: 
        !             6: while read line; do
        !             7: 
        !             8: case $line in
        !             9:  CONFIG_*=y) # configuration
        !            10:     name=${line%=*}
        !            11:     echo "#define $name 1"
        !            12:     ;;
        !            13:  CONFIG_*=*) # configuration
        !            14:     name=${line%=*}
        !            15:     value=${line#*=}
        !            16:     echo "#define $name $value"
        !            17:     ;;
        !            18:  TARGET_ARCH=*) # configuration
        !            19:     target_arch=${line#*=}
        !            20:     arch_name=`echo $target_arch | tr '[:lower:]' '[:upper:]'`
        !            21:     echo "#define TARGET_ARCH \"$target_arch\""
        !            22:     echo "#define TARGET_$arch_name 1"
        !            23:     ;;
        !            24:  TARGET_BASE_ARCH=*) # configuration
        !            25:     target_base_arch=${line#*=}
        !            26:     if [ "$target_base_arch" != "$target_arch" ]; then
        !            27:       base_arch_name=`echo $target_base_arch | tr '[:lower:]' '[:upper:]'`
        !            28:       echo "#define TARGET_$base_arch_name 1"
        !            29:     fi
        !            30:     ;;
        !            31:  TARGET_XML_FILES=*)
        !            32:     # do nothing
        !            33:     ;;
        !            34:  TARGET_ABI_DIR=*)
        !            35:     # do nothing
        !            36:     ;;
        !            37:  TARGET_ARCH2=*)
        !            38:     # do nothing
        !            39:     ;;
        !            40:  TARGET_*=y) # configuration
        !            41:     name=${line%=*}
        !            42:     echo "#define $name 1"
        !            43:     ;;
        !            44:  TARGET_*=*) # configuration
        !            45:     name=${line%=*}
        !            46:     value=${line#*=}
        !            47:     echo "#define $name $value"
        !            48:     ;;
        !            49:  USE_NPTL=y) # configuration
        !            50:     name=${line%=*}
        !            51:     echo "#define $name 1"
        !            52:     ;;
        !            53: esac
        !            54: 
        !            55: done # read

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.