qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 26/67] cpu: replace command line flags with preproce


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH 26/67] cpu: replace command line flags with preprocessor
Date: Thu, 3 May 2018 22:51:04 +0300

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 <address@hidden>
---
 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)
-- 
MST




reply via email to

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