meson: fix pylibfdt missing dependency on libfdt
The python library requires libfdt to build. This would intermittently fail depending on what order targets compiled. Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
parent
8221238569
commit
e81900635c
|
@ -4,6 +4,7 @@ setup_py = [setup_py, '--quiet', '--top-builddir', meson.project_build_root()]
|
|||
custom_target(
|
||||
'pylibfdt',
|
||||
input: 'libfdt.i',
|
||||
depends: libfdt,
|
||||
output: '_libfdt.so',
|
||||
command: [setup_py, 'build_ext', '--build-lib=' + meson.current_build_dir()],
|
||||
build_by_default: true,
|
||||
|
|
Loading…
Reference in New Issue