1*2564dcbfSPaolo Bonzinisysprof = dependency('sysprof-capture-4', method: 'pkg-config', required: false) 2db01d85fSFabiano Rosasglib_static = dependency('glib-2.0', version: glib_req_ver, required: false, 3db01d85fSFabiano Rosas method: 'pkg-config', static: true) 47661a7abSMurilo Opsfelder Araujo 54fbcdcd7SMarc-André Lureaustress = executable( 64fbcdcd7SMarc-André Lureau 'stress', 74fbcdcd7SMarc-André Lureau files('stress.c'), 8db01d85fSFabiano Rosas dependencies: [glib_static, sysprof], 94fbcdcd7SMarc-André Lureau link_args: ['-static'], 104fbcdcd7SMarc-André Lureau build_by_default: false, 114fbcdcd7SMarc-André Lureau) 124fbcdcd7SMarc-André Lureau 134fbcdcd7SMarc-André Lureaucustom_target( 144fbcdcd7SMarc-André Lureau 'initrd-stress.img', 154fbcdcd7SMarc-André Lureau output: 'initrd-stress.img', 164fbcdcd7SMarc-André Lureau input: stress, 174fbcdcd7SMarc-André Lureau command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@'] 184fbcdcd7SMarc-André Lureau) 19