Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
600309b6
Q
qemu
项目概览
openeuler
/
qemu
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
600309b6
编写于
7月 03, 2009
作者:
B
Blue Swirl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rename target_cpu to target_arch2
Signed-off-by:
N
Blue Swirl
<
blauwirbel@gmail.com
>
上级
cbbfacc6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
45 addition
and
45 deletion
+45
-45
configure
configure
+45
-45
未找到文件。
configure
浏览文件 @
600309b6
...
...
@@ -467,11 +467,11 @@ for opt do
sparc_cpu
=
"
$optarg
"
case
$sparc_cpu
in
v7|v8
)
SP_CFLAGS
=
"-m32 -mcpu=
${
sparc_cpu
}
-D__sparc_
${
sparc_cpu
}
__"
;
SP_LDFLAGS
=
"-m32"
target_
cpu
=
"sparc"
;
cpu
=
"sparc"
;;
target_
arch2
=
"sparc"
;
cpu
=
"sparc"
;;
v8plus|v8plusa
)
SP_CFLAGS
=
"-m32 -mcpu=ultrasparc -D__sparc_
${
sparc_cpu
}
__"
;
SP_LDFLAGS
=
"-m32"
target_
cpu
=
"sparc"
;
cpu
=
"sparc"
;;
target_
arch2
=
"sparc"
;
cpu
=
"sparc"
;;
v9
)
SP_CFLAGS
=
"-m64 -mcpu=ultrasparc -D__sparc_
${
sparc_cpu
}
__"
;
SP_LDFLAGS
=
"-m64"
target_
cpu
=
"sparc64"
;
cpu
=
"sparc64"
;;
target_
arch2
=
"sparc64"
;
cpu
=
"sparc64"
;;
*
)
echo
"undefined SPARC architecture. Exiting"
;
exit
1
;;
esac
;;
...
...
@@ -1888,40 +1888,40 @@ for target in $target_list; do
target_dir
=
"
$target
"
config_mak
=
$target_dir
/config.mak
config_h
=
$target_dir
/config.h
target_
cpu
=
`
echo
$target
|
cut
-d
'-'
-f
1
`
target_
arch2
=
`
echo
$target
|
cut
-d
'-'
-f
1
`
target_bigendian
=
"no"
[
"
$target_
cpu
"
=
"armeb"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"m68k"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"microblaze"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"mips"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"mipsn32"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"mips64"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"ppc"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"ppcemb"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"ppc64"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"ppc64abi32"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"sh4eb"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"sparc"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"sparc64"
]
&&
target_bigendian
=
yes
[
"
$target_
cpu
"
=
"sparc32plus"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"armeb"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"m68k"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"microblaze"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"mips"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"mipsn32"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"mips64"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"ppc"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"ppcemb"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"ppc64"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"ppc64abi32"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"sh4eb"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"sparc"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"sparc64"
]
&&
target_bigendian
=
yes
[
"
$target_
arch2
"
=
"sparc32plus"
]
&&
target_bigendian
=
yes
target_softmmu
=
"no"
target_user_only
=
"no"
target_linux_user
=
"no"
target_darwin_user
=
"no"
target_bsd_user
=
"no"
case
"
$target
"
in
${
target_
cpu
}
-softmmu
)
${
target_
arch2
}
-softmmu
)
target_softmmu
=
"yes"
;;
${
target_
cpu
}
-linux-user
)
${
target_
arch2
}
-linux-user
)
target_user_only
=
"yes"
target_linux_user
=
"yes"
;;
${
target_
cpu
}
-darwin-user
)
${
target_
arch2
}
-darwin-user
)
target_user_only
=
"yes"
target_darwin_user
=
"yes"
;;
${
target_
cpu
}
-bsd-user
)
${
target_
arch2
}
-bsd-user
)
target_user_only
=
"yes"
target_bsd_user
=
"yes"
;;
...
...
@@ -1959,16 +1959,16 @@ echo "#include \"../config-host.h\"" >> $config_h
bflt
=
"no"
elfload32
=
"no"
target_nptl
=
"no"
interp_prefix1
=
`
echo
"
$interp_prefix
"
|
sed
"s/%M/
$target_
cpu
/g"
`
interp_prefix1
=
`
echo
"
$interp_prefix
"
|
sed
"s/%M/
$target_
arch2
/g"
`
echo
"#define CONFIG_QEMU_PREFIX
\"
$interp_prefix1
\"
"
>>
$config_h
gdb_xml_files
=
""
target_kvm
=
"
$kvm
"
# Make sure the target and host cpus are compatible
if
test
!
\(
"
$target_
cpu
"
=
"
$cpu
"
-o
\
\(
"
$target_
cpu
"
=
"ppcemb"
-a
"
$cpu
"
=
"ppc"
\)
-o
\
\(
"
$target_
cpu
"
=
"x86_64"
-a
"
$cpu
"
=
"i386"
\)
-o
\
\(
"
$target_
cpu
"
=
"i386"
-a
"
$cpu
"
=
"x86_64"
\)
\)
;
then
if
test
!
\(
"
$target_
arch2
"
=
"
$cpu
"
-o
\
\(
"
$target_
arch2
"
=
"ppcemb"
-a
"
$cpu
"
=
"ppc"
\)
-o
\
\(
"
$target_
arch2
"
=
"x86_64"
-a
"
$cpu
"
=
"i386"
\)
-o
\
\(
"
$target_
arch2
"
=
"i386"
-a
"
$cpu
"
=
"x86_64"
\)
\)
;
then
target_kvm
=
"no"
fi
# Disable KVM for linux-user
...
...
@@ -1976,7 +1976,7 @@ if test "$target_softmmu" = "no" ; then
target_kvm
=
"no"
fi
case
"
$target_
cpu
"
in
case
"
$target_
arch2
"
in
i386
)
echo
"TARGET_ARCH=i386"
>>
$config_mak
echo
"#define TARGET_ARCH
\"
i386
\"
"
>>
$config_h
...
...
@@ -2192,23 +2192,23 @@ if test ! -z "$gdb_xml_files" ; then
fi
echo
"TARGET_XML_FILES=
$list
"
>>
$config_mak
if
test
"
$target_
cpu
"
=
"arm"
\
-o
"
$target_
cpu
"
=
"armeb"
\
-o
"
$target_
cpu
"
=
"m68k"
\
-o
"
$target_
cpu
"
=
"microblaze"
\
-o
"
$target_
cpu
"
=
"mips"
\
-o
"
$target_
cpu
"
=
"mipsel"
\
-o
"
$target_
cpu
"
=
"mipsn32"
\
-o
"
$target_
cpu
"
=
"mipsn32el"
\
-o
"
$target_
cpu
"
=
"mips64"
\
-o
"
$target_
cpu
"
=
"mips64el"
\
-o
"
$target_
cpu
"
=
"ppc"
\
-o
"
$target_
cpu
"
=
"ppc64"
\
-o
"
$target_
cpu
"
=
"ppc64abi32"
\
-o
"
$target_
cpu
"
=
"ppcemb"
\
-o
"
$target_
cpu
"
=
"sparc"
\
-o
"
$target_
cpu
"
=
"sparc64"
\
-o
"
$target_
cpu
"
=
"sparc32plus"
;
then
if
test
"
$target_
arch2
"
=
"arm"
\
-o
"
$target_
arch2
"
=
"armeb"
\
-o
"
$target_
arch2
"
=
"m68k"
\
-o
"
$target_
arch2
"
=
"microblaze"
\
-o
"
$target_
arch2
"
=
"mips"
\
-o
"
$target_
arch2
"
=
"mipsel"
\
-o
"
$target_
arch2
"
=
"mipsn32"
\
-o
"
$target_
arch2
"
=
"mipsn32el"
\
-o
"
$target_
arch2
"
=
"mips64"
\
-o
"
$target_
arch2
"
=
"mips64el"
\
-o
"
$target_
arch2
"
=
"ppc"
\
-o
"
$target_
arch2
"
=
"ppc64"
\
-o
"
$target_
arch2
"
=
"ppc64abi32"
\
-o
"
$target_
arch2
"
=
"ppcemb"
\
-o
"
$target_
arch2
"
=
"sparc"
\
-o
"
$target_
arch2
"
=
"sparc64"
\
-o
"
$target_
arch2
"
=
"sparc32plus"
;
then
echo
"CONFIG_SOFTFLOAT=y"
>>
$config_mak
echo
"#define CONFIG_SOFTFLOAT 1"
>>
$config_h
fi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录