diff options
Diffstat (limited to 'emulators/qemu/files/patch-meson.build')
-rw-r--r-- | emulators/qemu/files/patch-meson.build | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/emulators/qemu/files/patch-meson.build b/emulators/qemu/files/patch-meson.build deleted file mode 100644 index a7eac38afeff..000000000000 --- a/emulators/qemu/files/patch-meson.build +++ /dev/null @@ -1,20 +0,0 @@ ---- meson.build.orig 2023-04-19 16:31:47 UTC -+++ meson.build -@@ -2766,14 +2766,10 @@ if have_system - fdt_opt = get_option('fdt') - if fdt_opt in ['enabled', 'auto', 'system'] - have_internal = fs.exists(meson.current_source_dir() / 'dtc/libfdt/Makefile.libfdt') -- fdt = cc.find_library('fdt', kwargs: static_kwargs, -+ fdt = cc.find_library('fdt', kwargs: static_kwargs, dirs: '/usr/local/lib/', - required: fdt_opt == 'system' or -- fdt_opt == 'enabled' and not have_internal) -- if fdt.found() and cc.links(''' -- #include <libfdt.h> -- #include <libfdt_env.h> -- int main(void) { fdt_find_max_phandle(NULL, NULL); return 0; }''', -- dependencies: fdt) -+ fdt_opt == 'enabled') -+ if fdt.found() - fdt_opt = 'system' - elif fdt_opt == 'system' - error('system libfdt requested, but it is too old (1.5.1 or newer required)') |