QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
665 B
39 lines
665 B
contrib_plugins = [
|
|
'bbv.c',
|
|
'cache.c',
|
|
'cflow.c',
|
|
'drcov.c',
|
|
'execlog.c',
|
|
'hotblocks.c',
|
|
'hotpages.c',
|
|
'howvec.c',
|
|
'hwprofile.c',
|
|
'ips.c',
|
|
'stoptrigger.c',
|
|
'traps.c',
|
|
'uftrace.c',
|
|
]
|
|
|
|
if host_os != 'windows'
|
|
# lockstep uses socket.h
|
|
contrib_plugins += 'lockstep.c'
|
|
endif
|
|
|
|
if 'cpp' in all_languages
|
|
contrib_plugins += 'cpp.cpp'
|
|
endif
|
|
|
|
t = []
|
|
if get_option('plugins')
|
|
foreach i : contrib_plugins
|
|
t += shared_module(fs.stem(i), files(i),
|
|
dependencies: plugins_deps)
|
|
endforeach
|
|
endif
|
|
if t.length() > 0
|
|
alias_target('contrib-plugins', t)
|
|
else
|
|
run_target('contrib-plugins', command: [python, '-c', ''])
|
|
endif
|
|
|
|
plugin_modules += t
|
|
|