forked from Imagelibrary/rtems
Switched to new style which does not require hackspecs.awk.
This commit is contained in:
@@ -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 -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 -e start}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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: crt0.o%s
|
||||
{!pg:
|
||||
g: crt0.o%s
|
||||
{!g:
|
||||
p: crt0.o%s
|
||||
!p: crt0.o%s
|
||||
}}
|
||||
{!mrtems:
|
||||
pg: pgcrt0%O
|
||||
{!pg:
|
||||
g: gcrt0%O
|
||||
{!g:
|
||||
p: pcrt0%O
|
||||
!p: crt0%O
|
||||
}}}
|
||||
|
||||
|
||||
link: replace
|
||||
|
||||
|
||||
lib: replace
|
||||
mrtems: -( -lc -lrtemsall -lgcc -) -lcgo32 -lpc
|
||||
|
||||
|
||||
libgcc: replace
|
||||
*lib:
|
||||
%{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group -lcgo32 -lpc}
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} %{qrtems: crt0.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: %(old_link)}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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: start332.o%s
|
||||
{!pg:
|
||||
g: start332.o%s
|
||||
{!g:
|
||||
p: start332.o%s
|
||||
!p: start332.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: start332.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}
|
||||
|
||||
|
||||
@@ -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: start68k.o%s
|
||||
{!pg:
|
||||
g: start68k.o%s
|
||||
{!g:
|
||||
p: start68k.o%s
|
||||
!p: start68k.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: start68k.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}
|
||||
|
||||
|
||||
@@ -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: start302.o%s
|
||||
{!pg:
|
||||
g: start302.o%s
|
||||
{!g:
|
||||
p: start302.o%s
|
||||
!p: start302.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: start302.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}
|
||||
|
||||
|
||||
@@ -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: start360.o%s
|
||||
{!pg:
|
||||
g: start360.o%s
|
||||
{!g:
|
||||
p: start360.o%s
|
||||
!p: start360.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: start360.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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: start302.o%s
|
||||
{!pg:
|
||||
g: start302.o%s
|
||||
{!g:
|
||||
p: start302.o%s
|
||||
!p: start302.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: start302.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}
|
||||
|
||||
|
||||
@@ -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: idt_csu.o%s
|
||||
{!pg:
|
||||
g: idt_csu.o%s
|
||||
{!g:
|
||||
p: idt_csu.o%s
|
||||
!p: idt_csu.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: idt_csu.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}
|
||||
|
||||
|
||||
@@ -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: idt_csu.o%s
|
||||
{!pg:
|
||||
g: idt_csu.o%s
|
||||
{!g:
|
||||
p: idt_csu.o%s
|
||||
!p: idt_csu.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: idt_csu.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start}
|
||||
|
||||
|
||||
@@ -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:
|
||||
{!pg:
|
||||
g:
|
||||
{!g:
|
||||
p:
|
||||
!p:
|
||||
}}
|
||||
{!mrtems:
|
||||
pg: pgcrt0%O
|
||||
{!pg:
|
||||
g: gcrt0%O
|
||||
{!g:
|
||||
p: pcrt0%O
|
||||
!p: crt0%O
|
||||
}}}
|
||||
|
||||
|
||||
link: replace
|
||||
mrtems: -dc -dp -u __vectors -u download_entry -N -T linkcmds%s
|
||||
|
||||
lib: replace
|
||||
mrtems: ecrti%O%s -( -lc -lrtemsall -lgcc -)
|
||||
|
||||
|
||||
libgcc: replace
|
||||
*lib:
|
||||
%{!qrtems: %(old_lib)} %{qrtems: ecrti%O%s --start-group -lc -lrtemsall -lgcc --end-group}
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} %{qrtems: }
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u download_entry -N -T linkcmds%s}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user