summaryrefslogtreecommitdiffstats
path: root/make/custom/orp.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/orp.cfg')
-rw-r--r--make/custom/orp.cfg22
1 files changed, 22 insertions, 0 deletions
diff --git a/make/custom/orp.cfg b/make/custom/orp.cfg
new file mode 100644
index 0000000000..3857ef6acf
--- /dev/null
+++ b/make/custom/orp.cfg
@@ -0,0 +1,22 @@
+#
+# Configuration file for the "bender" chip which is simulated
+# by or1ksim.
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=or32
+RTEMS_CPU_MODEL=or1k_model
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=or32sim
+
+# Miscellaneous additions go here
+define make-exe
+ $(LINK.c) -W,l$(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
+ $(LINK_OBJS) $(LINK_LIBS) -W,l -e ___rst
+ $(NM) -n $(basename $@).exe > $(basename $@).num
+ $(SIZE) $(basename $@).exe
+endef