aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:03 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:10 -0500
commitfe0d4d3f7769d5b024e8166fc075148f9cf76ba9 (patch)
tree8bc20ffe4d312cb782b815f27ec64ba9efb6660d /config.h
parent1f3d3c8fd7f76150b727aa5980097d524cbb1141 (diff)
Generate config-devices.h
Generate config-devices.h for each target and config-all-devices.h for common library. We don't want to name both config-devices.h to avoid path problems Patchworks-ID: 35195 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'config.h')
-rw-r--r--config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.h b/config.h
index 516acee6c5..07d79d4ba1 100644
--- a/config.h
+++ b/config.h
@@ -1,3 +1,13 @@
#include "config-host.h"
#include "config-target.h"
+
+/* We want to include different config files for specific targets
+ And for the common library. They need a different name because
+ we don't want to rely in paths */
+
+#if defined(NEED_CPU_H)
+#include "config-devices.h"
+#else
+#include "config-all-devices.h"
+#endif