blob: e7f618340a52a9fffd1d40199a761e02f3964c31 (
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}
%define rtems_tools_source rtems-tools-%{rtems_tools_version}
%define rtems_tools_ext xz
%else
%define rtems_tools_version bae873a5f93ca8746df66045dd265742587e83be
%define rtems_tools_ext bz2
%endif
%define rtems_tools_source rtems-tools-%{rtems_tools_version}
%source set rtems-tools https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
%hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
c4fcc1b285ef741cf4e6afe41d1262488677903cb6210fdc16a5ce821ac380e7ac9eb9f83b2c8c0e54ca12a9a5efe2ccc775392260ab56cb947f7075b0ebf47d
#
# 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
|