Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
d3258560
Commit
d3258560
authored
Jul 02, 2005
by
bellard
Browse files
MIPS support
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@1482
c046a42c-6fe2-441c-8c8c-71466251a162
parent
0d8aca8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure
View file @
d3258560
...
@@ -213,7 +213,7 @@ fi
...
@@ -213,7 +213,7 @@ fi
if
test
-z
"
$target_list
"
;
then
if
test
-z
"
$target_list
"
;
then
# these targets are portable
# these targets are portable
target_list
=
"i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu"
target_list
=
"i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu
mips-softmmu
"
# the following are Linux specific
# the following are Linux specific
if
[
"
$linux
"
=
"yes"
]
;
then
if
[
"
$linux
"
=
"yes"
]
;
then
target_list
=
"i386-user arm-user armeb-user sparc-user ppc-user
$target_list
"
target_list
=
"i386-user arm-user armeb-user sparc-user ppc-user
$target_list
"
...
@@ -607,6 +607,7 @@ target_bigendian="no"
...
@@ -607,6 +607,7 @@ target_bigendian="no"
[
"
$target_cpu
"
=
"sparc"
]
&&
target_bigendian
=
yes
[
"
$target_cpu
"
=
"sparc"
]
&&
target_bigendian
=
yes
[
"
$target_cpu
"
=
"sparc64"
]
&&
target_bigendian
=
yes
[
"
$target_cpu
"
=
"sparc64"
]
&&
target_bigendian
=
yes
[
"
$target_cpu
"
=
"ppc"
]
&&
target_bigendian
=
yes
[
"
$target_cpu
"
=
"ppc"
]
&&
target_bigendian
=
yes
[
"
$target_cpu
"
=
"mips"
]
&&
target_bigendian
=
yes
target_softmmu
=
"no"
target_softmmu
=
"no"
if
expr
$target
:
'.*-softmmu'
>
/dev/null
;
then
if
expr
$target
:
'.*-softmmu'
>
/dev/null
;
then
target_softmmu
=
"yes"
target_softmmu
=
"yes"
...
@@ -679,6 +680,10 @@ elif test "$target_cpu" = "x86_64" ; then
...
@@ -679,6 +680,10 @@ elif test "$target_cpu" = "x86_64" ; then
if
test
$kqemu
=
"yes"
-a
"
$target_softmmu
"
=
"yes"
-a
$cpu
=
"x86_64"
;
then
if
test
$kqemu
=
"yes"
-a
"
$target_softmmu
"
=
"yes"
-a
$cpu
=
"x86_64"
;
then
echo
"#define USE_KQEMU 1"
>>
$config_h
echo
"#define USE_KQEMU 1"
>>
$config_h
fi
fi
elif
test
"
$target_cpu
"
=
"mips"
;
then
echo
"TARGET_ARCH=mips"
>>
$config_mak
echo
"#define TARGET_ARCH
\"
mips
\"
"
>>
$config_h
echo
"#define TARGET_MIPS 1"
>>
$config_h
else
else
echo
"Unsupported target CPU"
echo
"Unsupported target CPU"
exit
1
exit
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment