[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 092/132] meson: convert hw/hyperv
From: |
Paolo Bonzini |
Subject: |
[PATCH 092/132] meson: convert hw/hyperv |
Date: |
Thu, 19 Dec 2019 13:23:12 +0100 |
From: Marc-André Lureau <address@hidden>
Signed-off-by: Marc-André Lureau <address@hidden>
---
hw/Makefile.objs | 1 -
hw/hyperv/Makefile.objs | 2 --
hw/hyperv/meson.build | 2 ++
hw/meson.build | 1 +
4 files changed, 3 insertions(+), 3 deletions(-)
delete mode 100644 hw/hyperv/Makefile.objs
create mode 100644 hw/hyperv/meson.build
diff --git a/hw/Makefile.objs b/hw/Makefile.objs
index 0213b1b..2ca159e 100644
--- a/hw/Makefile.objs
+++ b/hw/Makefile.objs
@@ -10,7 +10,6 @@ devices-dirs-y += cpu/
devices-dirs-y += display/
devices-dirs-y += dma/
devices-dirs-y += gpio/
-devices-dirs-$(CONFIG_HYPERV) += hyperv/
endif
common-obj-y += $(devices-dirs-y)
diff --git a/hw/hyperv/Makefile.objs b/hw/hyperv/Makefile.objs
deleted file mode 100644
index edaca2f..0000000
--- a/hw/hyperv/Makefile.objs
+++ /dev/null
@@ -1,2 +0,0 @@
-obj-y += hyperv.o
-obj-$(CONFIG_HYPERV_TESTDEV) += hyperv_testdev.o
diff --git a/hw/hyperv/meson.build b/hw/hyperv/meson.build
new file mode 100644
index 0000000..98663ec
--- /dev/null
+++ b/hw/hyperv/meson.build
@@ -0,0 +1,2 @@
+specific_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'))
+specific_ss.add(when: 'CONFIG_HYPERV_TESTDEV', if_true:
files('hyperv_testdev.c'))
diff --git a/hw/meson.build b/hw/meson.build
index e59ed44..bfd4d59 100644
--- a/hw/meson.build
+++ b/hw/meson.build
@@ -1,4 +1,5 @@
subdir('core')
+subdir('hyperv')
subdir('i2c')
subdir('ide')
subdir('input')
--
1.8.3.1
- [PATCH 086/132] meson: convert hw/ipmi, (continued)
- [PATCH 086/132] meson: convert hw/ipmi, Paolo Bonzini, 2019/12/12
- [PATCH 087/132] meson: convert hw/ipack, Paolo Bonzini, 2019/12/12
- [PATCH 088/132] meson: convert hw/intc, Paolo Bonzini, 2019/12/12
- [PATCH 089/132] meson: convert hw/input, Paolo Bonzini, 2019/12/12
- [PATCH 090/132] meson: convert hw/ide, Paolo Bonzini, 2019/12/12
- [PATCH 092/132] meson: convert hw/hyperv, Paolo Bonzini, 2019/12/12
- [PATCH 091/132] meson: convert hw/i2c, Paolo Bonzini, 2019/12/12
- [PATCH 093/132] meson: convert hw/gpio, Paolo Bonzini, 2019/12/12
- Re: [RFC PATCH v3 000/132] Proof of concept for Meson integration, Markus Armbruster, 2019/12/19
- [PATCH 092/132] meson: convert hw/hyperv,
Paolo Bonzini <=
- [PATCH 094/132] meson: convert hw/dma, Paolo Bonzini, 2019/12/19
- [PATCH 093/132] meson: convert hw/gpio, Paolo Bonzini, 2019/12/19
- [PATCH 095/132] meson: convert hw/display, Paolo Bonzini, 2019/12/19
- [PATCH 096/132] meson: convert hw/cpu, Paolo Bonzini, 2019/12/19
- [PATCH 098/132] meson: convert hw/bt, Paolo Bonzini, 2019/12/19
- [PATCH 097/132] meson: convert hw/char, Paolo Bonzini, 2019/12/19
- [PATCH 099/132] meson: convert hw/block, Paolo Bonzini, 2019/12/19
- [PATCH 100/132] meson: convert hw/audio, Paolo Bonzini, 2019/12/19
- [PATCH 101/132] meson: convert hw/adc, Paolo Bonzini, 2019/12/19
- [PATCH 102/132] meson: convert hw/acpi, Paolo Bonzini, 2019/12/19