forked from Imagelibrary/rtems
mvme167: Simplify bsp_specs
This bsp-specs added many libraries which it should not have. It also added the non-standard -qjava option which if actually used will have to be addressed by adding linker options on the GCC command line. Updates #3520.
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
%rename lib old_lib
|
||||
%rename endfile old_endfile
|
||||
%rename startfile old_startfile
|
||||
%rename link old_link
|
||||
|
||||
*lib:
|
||||
%{!qrtems: %(old_lib)} \
|
||||
%{!nostdlib: %{qrtems: --start-group -lrtemsbsp -lrtemscpu -latomic \
|
||||
%{qjava: -lffi -lgcjgc -lzgcj -lgcj} %{qc++: -lstdc++} -lc -lgcc --end-group \
|
||||
%{!qnolinkcmds: -T linkcmds%s}}}
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}}
|
||||
|
||||
Reference in New Issue
Block a user