Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #2581: 0003-Add-management-for-without-rtems-option.patch

File 0003-Add-management-for-without-rtems-option.patch, 1.3 KB (added by merlo, on 02/15/16 at 14:52:47)
  • rtems/config/tools/rtems-kernel-4.9.6-1.cfg

    From 0b31c4366abf62896289d5cf38e9b8bbd6f87950 Mon Sep 17 00:00:00 2001
    From: ratman83 <lorenzo.m@aviotraceswiss.com>
    Date: Fri, 12 Feb 2016 11:48:04 +0100
    Subject: [PATCH 3/3] Add management for --without-rtems option
    
    ---
     rtems/config/tools/rtems-kernel-4.9.6-1.cfg | 27 +++++++++++++++++++--------
     1 file changed, 19 insertions(+), 8 deletions(-)
    
    diff --git a/rtems/config/tools/rtems-kernel-4.9.6-1.cfg b/rtems/config/tools/rtems-kernel-4.9.6-1.cfg
    index eb70459..d941ea7 100644
    a b  
    22# RTEMS 4.9.6
    33#
    44
    5 %include %{_configdir}/checks.cfg
    6 %include %{_configdir}/base.cfg
    7 
    8 %define rtems_kernel_version     4.9.6
    9 %define rtems_kernel_compression bz2
    10 
    115#
    12 # The RTEMS build instructions. We use 4.xx Release 1.
     6# Optionally disable building the RTEMS kernel via the command line.
    137#
    14 %include tools/rtems-kernel-4-1.cfg
     8%if %{defined without_rtems}
     9 %define rtems_kernel_build 0
     10%else
     11 %define rtems_kernel_build 1
     12%endif
     13
     14%if %{rtems_kernel_build}
     15 %include %{_configdir}/checks.cfg
     16 %include %{_configdir}/base.cfg
     17
     18 %define rtems_kernel_version     4.9.6
     19 %define rtems_kernel_compression bz2
     20
     21 #
     22 # The RTEMS build instructions. We use 4.xx Release 1.
     23 #
     24 %include tools/rtems-kernel-4-1.cfg
     25%endif