Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
07f4ddbf
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看板
提交
07f4ddbf
编写于
4月 23, 2005
作者:
B
bellard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
kqemu build fix
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@1370
c046a42c-6fe2-441c-8c8c-71466251a162
上级
5516d670
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
22 addition
and
8 deletion
+22
-8
Makefile
Makefile
+4
-0
configure
configure
+18
-8
未找到文件。
Makefile
浏览文件 @
07f4ddbf
...
...
@@ -18,8 +18,12 @@ all: dyngen$(EXESUF) $(TOOLS) $(DOCS)
$(MAKE)
-C
$$
d
$@
||
exit
1
;
\
done
ifdef
CONFIG_KQEMU
ifdef
CONFIG_WIN32
$(MAKE)
-C
kqemu
-f
Makefile.winnt
else
$(MAKE)
-C
kqemu
endif
endif
qemu-img$(EXESUF)
:
qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c block-dmg.c
$(CC)
-DQEMU_TOOL
$(CFLAGS)
$(LDFLAGS)
$(DEFINES)
-o
$@
$^
-lz
$(LIBS)
...
...
configure
浏览文件 @
07f4ddbf
...
...
@@ -94,6 +94,9 @@ mingw32="yes"
FreeBSD
)
bsd
=
"yes"
oss
=
"yes"
if
[
"
$cpu
"
=
"i386"
]
;
then
kqemu
=
"yes"
fi
;;
NetBSD
)
bsd
=
"yes"
...
...
@@ -110,7 +113,7 @@ darwin="yes"
*
)
oss
=
"yes"
linux
=
"yes"
if
[
"
$cpu
"
=
"i386"
]
;
then
if
[
"
$cpu
"
=
"i386"
-o
"
$cpu
"
=
"x86_64"
]
;
then
kqemu
=
"yes"
fi
;;
...
...
@@ -198,7 +201,9 @@ if test "$mingw32" = "yes" ; then
EXESUF
=
".exe"
gdbstub
=
"no"
oss
=
"no"
kqemu
=
"no"
if
[
"
$cpu
"
=
"i386"
]
;
then
kqemu
=
"yes"
fi
fi
if
test
-z
"
$target_list
"
;
then
...
...
@@ -350,7 +355,7 @@ docdir="$prefix/share/doc/qemu"
bindir
=
"
$prefix
/bin"
fi
# k
ernel module
support
# k
qemu
support
if
test
$kqemu
=
"yes"
;
then
# test if the source code is installed
if
test
'!'
-f
"kqemu/Makefile"
;
then
...
...
@@ -358,7 +363,8 @@ if test $kqemu = "yes" ; then
fi
fi
if
test
$kqemu
=
"yes"
;
then
# Linux specific kqemu configuration
if
test
$kqemu
=
"yes"
-a
$linux
=
"yes"
;
then
# find the kernel path
if
test
-z
"
$kernel_path
"
;
then
kernel_version
=
`
uname
-r
`
...
...
@@ -388,7 +394,7 @@ fi
fi
# kqemu
fi
# kqemu
fi
# kqemu
and linux
echo
"Install prefix
$prefix
"
...
...
@@ -418,9 +424,10 @@ if test $fmod = "yes"; then
echo
-n
" (lib='
$fmod_lib
' include='
$fmod_inc
')"
fi
echo
""
if
test
$kqemu
=
"yes"
;
then
echo
"kqemu support
$kqemu
"
if
test
$kqemu
=
"yes"
-a
$linux
=
"yes"
;
then
echo
""
echo
"KQEMU module configuration:"
echo
"KQEMU
Linux
module configuration:"
echo
"kernel sources
$kernel_path
"
echo
-n
"kbuild type "
if
test
$kbuild26
=
"yes"
;
then
...
...
@@ -617,7 +624,7 @@ if test "$target_cpu" = "i386" ; then
echo
"TARGET_ARCH=i386"
>>
$config_mak
echo
"#define TARGET_ARCH
\"
i386
\"
"
>>
$config_h
echo
"#define TARGET_I386 1"
>>
$config_h
if
test
$kqemu
=
"yes"
-a
"
$target_softmmu
"
=
"yes"
;
then
if
test
$kqemu
=
"yes"
-a
"
$target_softmmu
"
=
"yes"
-a
$cpu
=
"i386"
;
then
echo
"#define USE_KQEMU 1"
>>
$config_h
fi
elif
test
"
$target_cpu
"
=
"arm"
-o
"
$target_cpu
"
=
"armeb"
;
then
...
...
@@ -642,6 +649,9 @@ elif test "$target_cpu" = "x86_64" ; then
echo
"#define TARGET_ARCH
\"
x86_64
\"
"
>>
$config_h
echo
"#define TARGET_I386 1"
>>
$config_h
echo
"#define TARGET_X86_64 1"
>>
$config_h
if
test
$kqemu
=
"yes"
-a
"
$target_softmmu
"
=
"yes"
-a
$cpu
=
"x86_64"
;
then
echo
"#define USE_KQEMU 1"
>>
$config_h
fi
else
echo
"Unsupported target CPU"
exit
1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录