leon2: Simplify bsp_specs

Updates #3520.
This commit is contained in:
Joel Sherrill
2018-01-17 10:46:16 -06:00
committed by Sebastian Huber
parent ca188aa6ff
commit 85b59a57e8

View File

@@ -1,13 +1,9 @@
%rename endfile old_endfile %rename endfile old_endfile
%rename startfile old_startfile %rename startfile old_startfile
%rename link old_link
*startfile: *startfile:
%{!qrtems: %(old_startfile)} \ %{!qrtems: %(old_startfile)} \
%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}} %{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
*endfile: *endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s} %{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}