Ticket #378: bsp_specs.fix

File bsp_specs.fix, 659 bytes (added by elkolli, on 12/03/06 at 13:31:12)

bsp_specs.fix

Line 
1%rename cpp old_cpp
2%rename lib old_lib
3%rename endfile old_endfile
4%rename startfile old_startfile
5%rename link old_link
6
7*cpp:
8%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
9
10*lib:
11%{!qrtems: %(old_lib)} %{!nostdlib: %{qrtems: --start-group \
12%{!qrtems_debug: -lrtemsbsp -lrtemscpu} %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
13-lc -lgcc --end-group \
14%{!qnolinkcmds: -T linkcmds%s}}}
15
16*startfile:
17%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems: \
18%{!qrtems_debug: } \
19%{qrtems_debug: }ecrti%O%s}}
20
21*endfile:
22%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
23
24*link:
25%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u download_entry -N }
26