source: rtems-source-builder/rtems/config/tools/rtems-kernel-4.11.cfg @ b290154

4.104.95
Last change on this file since b290154 was b290154, checked in by Chris Johns <chrisj@…>, on 03/14/16 at 07:20:21

rtems-kernel: Fix the --with-rtems/--without-rtems support when released.

Also add:

--with-rtemsbsp="bsp,bsp,bsp"
--with-rtems-smp
--with-rtems-tests
--with-rtems-tests=sample
--with-rtems-tests=all

Closes #2526.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2# RTEMS 4.11
3#
4
5#
6# Build if the RSB is released.
7#
8%if %{rsb_released}
9 %define rtems_kernel_build 1
10%endif
11
12#
13# Optionally enable/disable building the RTEMS kernel via the command line.
14#
15%if %{defined with_rtems}
16 %define rtems_kernel_build 1
17%else
18 %define rtems_kernel_build 0
19%endif
20%if %{defined without_rtems}
21 %define rtems_kernel_build 0
22%endif
23
24%if %{rtems_kernel_build}
25 %include %{_configdir}/checks.cfg
26 %include %{_configdir}/base.cfg
27 %include %{_configdir}/versions.cfg
28
29 %if %{rsb_released}
30  %define rtems_kernel_version %{rsb_version}
31 %else
32  %define rtems_kernel_version %{rtems_version}
33 %endif
34
35 #
36 # A magic internal path that would break if changes in the defaults.mc
37 # macro file are made.
38 #
39 %define _internal_autotools_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN}
40
41 #
42 # Check the version of autoconf. Check autoreconf as it is used.
43 #
44 %if %{__autoreconf_ver} <= 2.68
45  %if %{__autoreconf_bindir_ver} <= 2.68
46   %if %{__autoreconf_path_ver} <= 2.68
47    %error Autoconf (autoreconf) version 2.69 or higher is needed.
48   %endif
49  %endif
50 %endif
51
52 #
53 # The RTEMS build instructions. We use 4.xx Release 1.
54 #
55 %include tools/rtems-kernel-4-1.cfg
56%endif
Note: See TracBrowser for help on using the repository browser.