Changeset a8d64ad in rtems-source-builder


Ignore:
Timestamp:
Mar 18, 2016, 1:58:44 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
87434f6
Parents:
bc61e34
Message:

4.11/rtems-kernel: Use the updated common support for conditional building.

Updates #2526.

File:
1 edited

Legend:

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

    rbc61e34 ra8d64ad  
    44
    55#
    6 # Build if the RSB is released.
     6# The RTEMS build instructions. We use 4.xx Release 1.
    77#
    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
     8%include tools/rtems-kernel-4-1.cfg
Note: See TracChangeset for help on using the changeset viewer.