On 05/03/2018 02:51 PM, Michael S. Tsirkin wrote:
Each target is currently built with a different set of include
directories, this is what makes it possible to pull in a separate copy
of cpu.h depending on the target.

Replace with per-target ifdefs which are easier to understand.

Signed-off-by: Michael S. Tsirkin <[email protected]>
---
  include/cpu.h | 2 ++
  1 file changed, 2 insertions(+)
  create mode 100644 include/cpu.h

diff --git a/include/cpu.h b/include/cpu.h
new file mode 100644
index 0000000..b18f163
--- /dev/null
+++ b/include/cpu.h
@@ -0,0 +1,2 @@
+#include "target-dir.h"
+#include TARGET_DIR(cpu.h)

Out-of-order patch? I don't see target-dir.h created anywhere earlier in this series.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to