Changeset b830445 in rtems-source-builder


Ignore:
Timestamp:
Aug 14, 2013, 4:04:53 AM (7 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
5118d73
Parents:
76d4899
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtems/config/tools/rtems-kernel-4.11.cfg

    r76d4899 rb830445  
    33#
    44
    5 %include %{_configdir}/checks.cfg
    6 %include %{_configdir}/base.cfg
    7 %include %{_configdir}/versions.cfg
     5#
     6# Optionally disable building the RTEMS kernel via the command line.
     7#
     8%if %{without_rtems}
     9 %define rtems_kernel_build 0
     10%else
     11 %define rtems_kernel_build 1
     12%endif
    813
    9 %define rtems_kernel_version 4.11
     14%if %{rtems_kernel_build}
     15 %include %{_configdir}/checks.cfg
     16 %include %{_configdir}/base.cfg
     17 %include %{_configdir}/versions.cfg
    1018
    11 #
    12 # Check the version of autoconf. Check autoreconf as it is used.
    13 #
    14 %if %{__autoreconf_ver} <= 2.68
    15  %if %{__autoreconf_bindir_ver} <= 2.68
    16   %if %{__autoreconf_path_ver} <= 2.68
    17    %error Autoconf (autoreconf) version 2.69 or higher is needed.
     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
    1829  %endif
    1930 %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
    2053%endif
    21 
    22 #
    23 # A magic internal path that would break if changes in the defaults.mc
    24 # macro file are made.
    25 #
    26 %define _internal_autotools_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN}
    27 #
    28 # Pull the latest changes from git each build. Override if this is not what you
    29 # want.
    30 #
    31 Source0: git://git.rtems.org/rtems.git?reset=hard?pull
    32 
    33 #
    34 # The code in git needs to be bootstrapped. Do each build because we have
    35 # no way to change what changes may have happened in the code.
    36 #
    37 %define rtems_bootstrap
    38 
    39 #
    40 # The RTEMS build instructions. We use 4.xx Release 1.
    41 #
    42 %include tools/rtems-kernel-4-1.cfg
Note: See TracChangeset for help on using the changeset viewer.