]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
meson: build contrib/ executables after generated headers
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 Dec 2021 08:28:46 +0000 (09:28 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Jan 2022 13:09:06 +0000 (14:09 +0100)
This will be needed as soon as config-poison.h moves from configure to
a meson custom_target (which is built at "ninja" time).

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
contrib/elf2dmp/meson.build
contrib/ivshmem-client/meson.build
contrib/ivshmem-server/meson.build
contrib/rdmacm-mux/meson.build

index 4d86cb390a5536016dc1dc3bc2e935c03f4e879b..6707d43c4fa5ebc26d8a70317abf018d4ad40d10 100644 (file)
@@ -1,5 +1,5 @@
 if curl.found()
-  executable('elf2dmp', files('main.c', 'addrspace.c', 'download.c', 'pdb.c', 'qemu_elf.c'),
+  executable('elf2dmp', files('main.c', 'addrspace.c', 'download.c', 'pdb.c', 'qemu_elf.c'), genh,
              dependencies: [glib, curl],
              install: true)
 endif
index 1b171efb4f536f608191cd4cba1bd11cc4bbb280..ce8dcca84ddb23de1d8eaa813f5a2faf6f82df38 100644 (file)
@@ -1,4 +1,4 @@
-executable('ivshmem-client', files('ivshmem-client.c', 'main.c'),
+executable('ivshmem-client', files('ivshmem-client.c', 'main.c'), genh,
            dependencies: glib,
            build_by_default: targetos == 'linux',
            install: false)
index 3a539422017e6dc342e098c3e9c8dde4be97c563..c6c3c82e89f363e1929bfa08e318f5b22906ef0a 100644 (file)
@@ -1,4 +1,4 @@
-executable('ivshmem-server', files('ivshmem-server.c', 'main.c'),
+executable('ivshmem-server', files('ivshmem-server.c', 'main.c'), genh,
            dependencies: [qemuutil, rt],
            build_by_default: targetos == 'linux',
            install: false)
index 6cc5016747684fd5e144d31f257b7547c8b06154..7674f54cc5b52099483500fa34daa29f23dd9d93 100644 (file)
@@ -2,7 +2,7 @@ if 'CONFIG_PVRDMA' in config_host
   # if not found, CONFIG_PVRDMA should not be set
   # FIXME: broken on big endian architectures
   libumad = cc.find_library('ibumad', required: true)
-  executable('rdmacm-mux', files('main.c'),
+  executable('rdmacm-mux', files('main.c'), genh,
              dependencies: [glib, libumad],
              build_by_default: false,
              install: false)