mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Build rtems-tools for the host with a Cxc build.
This commit is contained in:
parent
8197b8ea04
commit
db6d3eb83a
@ -29,8 +29,17 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
%build
|
%build
|
||||||
build_top=$(pwd)
|
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}
|
cd ${source_dir_rtems_tools}
|
||||||
./waf configure --prefix=%{_prefix}
|
./waf configure ${RT_HOST} --prefix=%{_prefix}
|
||||||
./waf
|
./waf
|
||||||
cd ${build_top}
|
cd ${build_top}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user