summaryrefslogtreecommitdiffstats
path: root/contrib/elf2dmp
diff options
context:
space:
mode:
authorMarc-André Lureau2019-07-12 21:47:06 +0200
committerPaolo Bonzini2020-08-21 12:30:11 +0200
commit1d7bb6ab2cd93d56a86b9203bfc2cac5ee36de63 (patch)
treec660253b042b1f2011a79e1780d4d067b165eb9f /contrib/elf2dmp
parentcontrib/ivshmem: convert to meson (diff)
downloadqemu-1d7bb6ab2cd93d56a86b9203bfc2cac5ee36de63.tar.gz
qemu-1d7bb6ab2cd93d56a86b9203bfc2cac5ee36de63.tar.xz
qemu-1d7bb6ab2cd93d56a86b9203bfc2cac5ee36de63.zip
contrib/elf2dmp: convert to meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'contrib/elf2dmp')
-rw-r--r--contrib/elf2dmp/Makefile.objs4
-rw-r--r--contrib/elf2dmp/meson.build5
2 files changed, 5 insertions, 4 deletions
diff --git a/contrib/elf2dmp/Makefile.objs b/contrib/elf2dmp/Makefile.objs
deleted file mode 100644
index 1505716916..0000000000
--- a/contrib/elf2dmp/Makefile.objs
+++ /dev/null
@@ -1,4 +0,0 @@
-elf2dmp-obj-y = main.o addrspace.o download.o pdb.o qemu_elf.o
-
-download.o-cflags := $(CURL_CFLAGS)
-download.o-libs := $(CURL_LIBS)
diff --git a/contrib/elf2dmp/meson.build b/contrib/elf2dmp/meson.build
new file mode 100644
index 0000000000..b3de173316
--- /dev/null
+++ b/contrib/elf2dmp/meson.build
@@ -0,0 +1,5 @@
+if 'CONFIG_CURL' in config_host
+ executable('elf2dmp', files('main.c', 'addrspace.c', 'download.c', 'pdb.c', 'qemu_elf.c'),
+ dependencies: [glib, curl],
+ install: true)
+endif