mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
config: Support --without-rtems to not build RTEMS.
The default is to build RTEMS. This change lets a user stop this by using '--without-rtems' on the command line.
This commit is contained in:
parent
76d4899a27
commit
b830445f6f
@ -2,6 +2,16 @@
|
||||
# RTEMS 4.11
|
||||
#
|
||||
|
||||
#
|
||||
# Optionally disable building the RTEMS kernel via the command line.
|
||||
#
|
||||
%if %{without_rtems}
|
||||
%define rtems_kernel_build 0
|
||||
%else
|
||||
%define rtems_kernel_build 1
|
||||
%endif
|
||||
|
||||
%if %{rtems_kernel_build}
|
||||
%include %{_configdir}/checks.cfg
|
||||
%include %{_configdir}/base.cfg
|
||||
%include %{_configdir}/versions.cfg
|
||||
@ -40,3 +50,4 @@ Source0: git://git.rtems.org/rtems.git?reset=hard?pull
|
||||
# The RTEMS build instructions. We use 4.xx Release 1.
|
||||
#
|
||||
%include tools/rtems-kernel-4-1.cfg
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user