summaryrefslogtreecommitdiff
path: root/include/system_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system_conf.h')
-rw-r--r--include/system_conf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/system_conf.h b/include/system_conf.h
new file mode 100644
index 0000000000..4e1c271e20
--- /dev/null
+++ b/include/system_conf.h
@@ -0,0 +1,14 @@
+#if defined(HEADER_WARNING)
+#warning "This header should not be included directly."
+#endif
+
+
+#if defined(__rtems_lm32_lm32_evr__)
+# include <lm32/lm32_evr/system_conf.h>
+#elif defined(__rtems_lm32_lm32_evr_gdbsim__)
+# include <lm32/lm32_evr_gdbsim/system_conf.h>
+#elif defined(__rtems_lm32_milkymist__)
+# include <lm32/milkymist/system_conf.h>
+#else
+# error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__"
+#endif