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

4.104.114.95
Last change on this file since 9a15c40 was 9a15c40, checked in by Chris Johns <chrisj@…>, on May 13, 2014 at 1:26:09 PM

sb: Implement %source and %patch to manage source and patches.

Remove the numbered source and patches and automatically manage
sources and patches. This removes the overhead in maintaining large
collections of patches.

  • 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 %source set rtems 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.