mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
45 lines
1.1 KiB
INI
45 lines
1.1 KiB
INI
#
|
|
# RTEMS Tools for 6.
|
|
#
|
|
|
|
#
|
|
# 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 323007a6b520140a20b2e268c90b78ff67afaf45
|
|
%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 \
|
|
yo5i1HEaYyOOX8JJGr+kok0vIEZGpXjeZmA44gqTow101PhtlwhebvgTS0SeMe8L68wTDqdjZe5QVnsjKgYOhw==
|
|
|
|
#
|
|
# 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
|