xref: /openbmc/qemu/tests/migration/meson.build (revision 784155cd)
1sysprof = dependency('sysprof-capture-4', method: 'pkg-config', required: false)
2glib_static = dependency('glib-2.0', version: glib_req_ver, required: false,
3                         method: 'pkg-config', static: true)
4
5stress = executable(
6  'stress',
7  files('stress.c'),
8  dependencies: [glib_static, sysprof],
9  link_args: ['-static'],
10  build_by_default: false,
11)
12
13custom_target(
14  'initrd-stress.img',
15  output: 'initrd-stress.img',
16  input: stress,
17  command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@']
18)
19