blob: ddeb4d3f3f45683c4be05881f7d08be7a5718300 (
plain) (
tree)
|
|
#
# RTEMS Tools for 5.
#
#
# The RTEMS Tools version is set to the RSB version or the RTEMS version.
#
%if %{rsb_released}
%define rtems_tools_version %{rsb_version}
%else
%define rtems_tools_version d343f830f4dae8e84b4b44902347c60cf18b2ffd
%define rtems_tools_source rtems-tools-%{rtems_tools_version}
%source set rtems-tools https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.bz2
%hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 0bad7f68642cd7856a4534241529979b9efffaf88d36d83fc358cb880a3e2be6ed5501c852bf1a514939784c7130da5c15c24b2105691024d1bf9983ac0404a4
%endif
#
# Optionally enable/disable building the RTEMS Tools via the command line.
#
%if %{defined with_rtems_tools}
%define rtems_tools_build 1
%endif
%if %{defined without_rtems_tools}
%define rtems_tools_build 0
%endif
#
# Build by default.
#
%if ! %{defined rtems_tools_build}
%define rtems_tools_build 1
%endif
%if %{rtems_tools_build}
#
# The RTEMS Tools build instructions.
#
%include tools/rtems-tools-common-1.cfg
%endif
|