summaryrefslogtreecommitdiffstats
path: root/rtems/config/rtems-bsp.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-04-15 11:51:55 +1000
committerChris Johns <chrisj@rtems.org>2016-04-15 11:59:30 +1000
commit70fc466b48186c2bf192f5bf656cbbd5da3270a2 (patch)
treeb73fcdab6338c152837f80a90add7ddcb7020997 /rtems/config/rtems-bsp.cfg
parent4.12: Add the newlib patch to get the updated ctr0.o. (diff)
downloadrtems-source-builder-70fc466b48186c2bf192f5bf656cbbd5da3270a2.tar.bz2
rtems: Refactor to move to a single version on master.
Move the 4.12 version and base defines to just RTEMS base defines which includes the version. This removes the version from a number of files and makes it simpler to move to a new version. It however means we cannot support more than version on master. This change further breaks 4.10 and 4.9 however it means we can branch these versions and better support them on their branches.
Diffstat (limited to 'rtems/config/rtems-bsp.cfg')
-rw-r--r--rtems/config/rtems-bsp.cfg17
1 files changed, 9 insertions, 8 deletions
diff --git a/rtems/config/rtems-bsp.cfg b/rtems/config/rtems-bsp.cfg
index 2664776..28d250f 100644
--- a/rtems/config/rtems-bsp.cfg
+++ b/rtems/config/rtems-bsp.cfg
@@ -79,14 +79,6 @@
%endif
#
-# Map to names used for cross compiling.
-#
-%define host_cflags %{rtems_bsp_cflags}
-%define host_cxxflags %{rtems_bsp_ccflags}
-%define host_ldflags %{rtems_bsp_ldflags}
-%define host_libs %{rtems_bsp_libs}
-
-#
# Update the configure paths to be BSP specific.
#
%define rtems_bsp_prefix %{_prefix}/%{_host}/%{rtems_bsp}
@@ -108,3 +100,12 @@
%define _localedir %{_datarootdir}/locale
%define _localedir %{_datadir}/locale
%define _localstatedir %{_exec_prefix}/var
+
+#
+# Map to names used for cross compiling.
+#
+%define host_includes -I%{_includedir}
+%define host_cflags %{rtems_bsp_cflags}
+%define host_cxxflags %{rtems_bsp_ccflags}
+%define host_ldflags %{rtems_bsp_ldflags}
+%define host_libs %{rtems_bsp_libs}