summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme136
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-08-28 21:54:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-08-28 21:54:59 +0000
commite9932367e7b67dc5f8d3a4888c3d7c62104b914a (patch)
treef004bc1400a71fd47f2fab4880cf13f8c032f98f /c/src/lib/libbsp/m68k/mvme136
parentRemoved hackspecs.awk in move from -mrtems to -qrtems. (diff)
downloadrtems-e9932367e7b67dc5f8d3a4888c3d7c62104b914a.tar.bz2
Switched to new style which does not require hackspecs.awk.
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme136')
-rw-r--r--c/src/lib/libbsp/m68k/mvme136/bsp_specs42
1 files changed, 13 insertions, 29 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme136/bsp_specs b/c/src/lib/libbsp/m68k/mvme136/bsp_specs
index 70d6a7ab66..e2a0bd3dd6 100644
--- a/c/src/lib/libbsp/m68k/mvme136/bsp_specs
+++ b/c/src/lib/libbsp/m68k/mvme136/bsp_specs
@@ -1,34 +1,18 @@
+%rename cpp old_cpp
+%rename lib old_lib
+%rename endfile old_endfile
+%rename startfile old_startfile
+%rename link old_link
-predefines:
--D__embedded__ -Asystem(embedded)
+*cpp:
+%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
-startfile: replace
-mrtems:
-pg: start.o%s
-{!pg:
-g: start.o%s
-{!g:
-p: start.o%s
-!p: start.o%s
-}}
-{!mrtems:
-pg: pgcrt0%O
-{!pg:
-g: gcrt0%O
-{!g:
-p: pcrt0%O
-!p: crt0%O
-}}}
-
-
-link: replace
-mrtems: -dc -dp -N -T linkcmds%s -e start
-
-lib: replace
-mrtems: -( -lc -lrtemsall -lgcc -)
-
-
-libgcc: replace
+*lib:
+%{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group}
+*startfile:
+%{!qrtems: %(old_startfile)} %{qrtems: start.o%s}
+*link:
+%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}