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

4.104.114.95
Last change on this file since 169619c was 169619c, checked in by Chris Johns <chrisj@…>, on 09/02/13 at 23:20:17

config: Disable building RTEMS by default.

To build use --with-rtems.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2# RTEMS 4.11
3#
4
5#
6# Optionally enable/disable building the RTEMS kernel via the command line.
7#
8%if %{defined with_rtems}
9 %define rtems_kernel_build 1
10%else
11 %define rtems_kernel_build 0
12%endif
13
14%if %{rtems_kernel_build}
15 %include %{_configdir}/checks.cfg
16 %include %{_configdir}/base.cfg
17 %include %{_configdir}/versions.cfg
18
19 %define rtems_kernel_version 4.11
20
21 #
22 # Check the version of autoconf. Check autoreconf as it is used.
23 #
24 %if %{__autoreconf_ver} <= 2.68
25  %if %{__autoreconf_bindir_ver} <= 2.68
26   %if %{__autoreconf_path_ver} <= 2.68
27    %error Autoconf (autoreconf) version 2.69 or higher is needed.
28   %endif
29  %endif
30 %endif
31
32 #
33 # A magic internal path that would break if changes in the defaults.mc
34 # macro file are made.
35 #
36 %define _internal_autotools_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN}
37 #
38 # Pull the latest changes from git each build. Override if this is not what you
39 # want.
40 #
41 Source0: git://git.rtems.org/rtems.git?reset=hard?pull
42
43 #
44 # The code in git needs to be bootstrapped. Do each build because we have
45 # no way to change what changes may have happened in the code.
46 #
47 %define rtems_bootstrap
48
49 #
50 # The RTEMS build instructions. We use 4.xx Release 1.
51 #
52 %include tools/rtems-kernel-4-1.cfg
53%endif
Note: See TracBrowser for help on using the repository browser.