forked from Imagelibrary/rtems
mcf5206elite: Simplify bsp_specs
Removes the non-standard -qflash option added by the bsp_specs. If actually used, this will have to be addressed in another way. Updates #3520.
This commit is contained in:
@@ -1,21 +1,13 @@
|
|||||||
%rename lib old_lib
|
|
||||||
%rename endfile old_endfile
|
%rename endfile old_endfile
|
||||||
%rename startfile old_startfile
|
%rename startfile old_startfile
|
||||||
%rename link old_link
|
%rename link old_link
|
||||||
|
|
||||||
*lib:
|
|
||||||
%{!qrtems: %(old_lib)} \
|
|
||||||
%{!nostdlib: %{qrtems: --start-group -lrtemsbsp -lrtemscpu -latomic -lc -lgcc --end-group \
|
|
||||||
%{!qnolinkcmds: \
|
|
||||||
%{!qflash: -T linkcmds%s} %{qflash: -T linkcmds.flash%s}}}}
|
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
%{!qrtems: %(old_startfile)} \
|
%{!qrtems: %(old_startfile)} \
|
||||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}}
|
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}}
|
||||||
|
|
||||||
*link:
|
*link:
|
||||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N} \
|
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||||
%{qclock=*: -defsym _SYS_CLOCK_FREQUENCY=%*}
|
|
||||||
|
|
||||||
*endfile:
|
*endfile:
|
||||||
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}
|
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}
|
||||||
|
|||||||
Reference in New Issue
Block a user