summaryrefslogtreecommitdiff
path: root/rtems_waf/defaults/bsp/h8300.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtems_waf/defaults/bsp/h8300.py')
-rw-r--r--rtems_waf/defaults/bsp/h8300.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/rtems_waf/defaults/bsp/h8300.py b/rtems_waf/defaults/bsp/h8300.py
new file mode 100644
index 0000000000..faa147536a
--- /dev/null
+++ b/rtems_waf/defaults/bsp/h8300.py
@@ -0,0 +1,27 @@
+from rtems_waf.config import Default, Config
+
+class Base(Config):
+ arch = name = "h8300"
+ conflicts=("clang",)
+
+
+
+class h8sim_shared(Base):
+ def build(self, c):
+ c.LINKCMDS = ['src/lib/libbsp/h8300/h8sim/startup/linkcmds']
+ c.LINK_START = ['${RTEMS}/start.o', '-e', '_start']
+
+class h8sxsim(h8sim_shared):
+ name = "h8300/h8sxsim"
+
+ def build(self, c):
+ c.LINKCMDS = ['src/lib/libbsp/h8300/h8sim/startup/linkcmds']
+
+
+class h8sim(h8sim_shared):
+ name = "h8300/h8sim"
+
+ def build(self, c):
+ c.LINKCMDS = ['src/lib/libbsp/h8300/h8sim/startup/linkcmds']
+
+