summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/epiphany/acinclude.m4
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2015-05-21 17:53:53 +0100
committerGedare Bloom <gedare@rtems.org>2015-05-21 16:03:34 -0400
commit6f71dcb7cdaff53d8b44ea7c13ddb48d274663e7 (patch)
tree8854c63e9a514b4b9c1e7e5fb4b166d165e6025b /c/src/lib/libbsp/epiphany/acinclude.m4
parentcpukit: Add Epiphany architecture port v4 (diff)
downloadrtems-6f71dcb7cdaff53d8b44ea7c13ddb48d274663e7.tar.bz2
Epiphany: Add the first epiphany_sim BSP v4
This BSP in intended to run on the simulator that should be built from RSB. When building RTEMS for Epiphany --disable-networking must be provided part of the configure command.
Diffstat (limited to 'c/src/lib/libbsp/epiphany/acinclude.m4')
-rw-r--r--c/src/lib/libbsp/epiphany/acinclude.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/epiphany/acinclude.m4 b/c/src/lib/libbsp/epiphany/acinclude.m4
new file mode 100644
index 0000000000..0fe1e2e79d
--- /dev/null
+++ b/c/src/lib/libbsp/epiphany/acinclude.m4
@@ -0,0 +1,10 @@
+# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
+AC_DEFUN([RTEMS_CHECK_BSPDIR],
+[
+ case "$1" in
+ epiphany_sim )
+ AC_CONFIG_SUBDIRS([epiphany_sim]);;
+ *)
+ AC_MSG_ERROR([Invalid BSP]);;
+ esac
+])