qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 38/67] helper: replace command line flags with p


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 38/67] helper: replace command line flags with preprocessor
Date: Thu, 3 May 2018 15:09:42 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

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 helper.h depending on the target.

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

Signed-off-by: Michael S. Tsirkin <address@hidden>
---
  include/exec/helper.h | 2 ++
  1 file changed, 2 insertions(+)
  create mode 100644 include/exec/helper.h

Out-of-order patch; target-dir.h isn't created yet...


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


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]