[PATCH 02/29] csb360: Simplify bsp_specs
Joel Sherrill
joel at rtems.org
Tue Dec 19 00:00:58 UTC 2017
This patch removes the non-standard -qclock option which defines
_SYS_CLOCK_FREQUENCY. If actually used, this can be achieved by
providing ld options via the linking invocation of GCC.
Updates #3520.
---
c/src/lib/libbsp/m68k/csb360/bsp_specs | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/csb360/bsp_specs b/c/src/lib/libbsp/m68k/csb360/bsp_specs
index ff23dca..5154de8 100644
--- a/c/src/lib/libbsp/m68k/csb360/bsp_specs
+++ b/c/src/lib/libbsp/m68k/csb360/bsp_specs
@@ -1,21 +1,13 @@
-%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 -lc -lgcc --end-group \
-%{!qnolinkcmds: \
-%{!qflash: -T linkcmds%s} %{qflash: -T linkcmds.flash%s}}}}
-
*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} \
-%{qclock=*: -defsym _SYS_CLOCK_FREQUENCY=%*}
+%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}
--
1.8.3.1
More information about the devel
mailing list