summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/lm32/milkymist/bsp_specs
blob: 5154de8c55f97093093a0912287863fc0ab820c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link

*startfile:
%{!qrtems: %(old_startfile)} \
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}}

*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}

*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}