[rtems-source-builder commit] Build rtems-tools for the host with a Cxc build.
Chris Johns
chrisj at rtems.org
Mon Jan 19 21:58:24 UTC 2015
Module: rtems-source-builder
Branch: master
Commit: db6d3eb83ad928b058bc56c2ebb7c2086bf22188
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=db6d3eb83ad928b058bc56c2ebb7c2086bf22188
Author: Chris Johns <chrisj at rtems.org>
Date: Tue Jan 20 08:57:44 2015 +1100
Build rtems-tools for the host with a Cxc build.
---
rtems/config/tools/rtems-tools-git-1.cfg | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/rtems/config/tools/rtems-tools-git-1.cfg b/rtems/config/tools/rtems-tools-git-1.cfg
index dc9bdae..0adeb6a 100644
--- a/rtems/config/tools/rtems-tools-git-1.cfg
+++ b/rtems/config/tools/rtems-tools-git-1.cfg
@@ -29,8 +29,17 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%build
build_top=$(pwd)
+ #
+ # Provide the host for a Cxc build.
+ #
+ if test "%{_build}" != "%{_host}" ; then
+ RT_HOST="-host=%{_host}"
+ else
+ RT_HOST=
+ fi
+
cd ${source_dir_rtems_tools}
- ./waf configure --prefix=%{_prefix}
+ ./waf configure ${RT_HOST} --prefix=%{_prefix}
./waf
cd ${build_top}
More information about the vc
mailing list