Switched to new style which does not require hackspecs.awk.

This commit is contained in:
Joel Sherrill
1997-08-28 21:54:59 +00:00
parent de5e24f83f
commit e9932367e7
20 changed files with 260 additions and 580 deletions

View File

@@ -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: startsis.o%s
{!pg:
g: startsis.o%s
{!g:
p: startsis.o%s
!p: startsis.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: startsis.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}