[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 01/11] exec: Restrict TCG specific headers
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v5 01/11] exec: Restrict TCG specific headers |
Date: |
Sat, 30 Jan 2021 02:52:17 +0100 |
Fixes when building with --disable-tcg:
In file included from target/arm/helper.c:16:
include/exec/helper-proto.h:42:10: fatal error: tcg-runtime.h: No such file
or directory
42 | #include "tcg-runtime.h"
| ^~~~~~~~~~~~~~~
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
include/exec/helper-proto.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/exec/helper-proto.h b/include/exec/helper-proto.h
index 659f9298e8f..740bff3bb4d 100644
--- a/include/exec/helper-proto.h
+++ b/include/exec/helper-proto.h
@@ -39,8 +39,10 @@ dh_ctype(ret) HELPER(name) (dh_ctype(t1), dh_ctype(t2),
dh_ctype(t3), \
#include "helper.h"
#include "trace/generated-helpers.h"
+#ifdef CONFIG_TCG
#include "tcg-runtime.h"
#include "plugin-helpers.h"
+#endif /* CONFIG_TCG */
#undef IN_HELPER_PROTO
--
2.26.2
[PATCH v5 04/11] target/arm: Restrict ARMv5 cpus to TCG accel, Philippe Mathieu-Daudé, 2021/01/29
[PATCH v5 05/11] target/arm: Restrict ARMv6 cpus to TCG accel, Philippe Mathieu-Daudé, 2021/01/29
[PATCH v5 06/11] target/arm: Restrict ARMv7 R-profile cpus to TCG accel, Philippe Mathieu-Daudé, 2021/01/29