4.104.114.84.95
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)} %{qrtems: ecrti%O%s --start-group \ |
---|
12 | %{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \ |
---|
13 | -lc -lgcc --end-group \ |
---|
14 | %{!qnolinkcmds: -T linkcmds%s}} |
---|
15 | |
---|
16 | *startfile: |
---|
17 | %{!qrtems: %(old_startfile)} %{qrtems: startsim.o%s \ |
---|
18 | %{!qrtems_debug: } \ |
---|
19 | %{qrtems_debug: }} |
---|
20 | |
---|
21 | *link: |
---|
22 | %{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -T linkcmds%s -e _start -u __vectors} |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.