Changeset b290154 in rtems-source-builder


Ignore:
Timestamp:
Mar 14, 2016, 7:20:21 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.9, master
Children:
33308d1
Parents:
8d0e377
git-author:
Chris Johns <chrisj@…> (03/14/16 07:20:21)
git-committer:
Chris Johns <chrisj@…> (03/14/16 07:23:07)
Message:

rtems-kernel: Fix the --with-rtems/--without-rtems support when released.

Also add:

--with-rtemsbsp="bsp,bsp,bsp"
--with-rtems-smp
--with-rtems-tests
--with-rtems-tests=sample
--with-rtems-tests=all

Closes #2526.

Location:
rtems/config/tools
Files:
2 edited

Legend:

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

    r8d0e377 rb290154  
    7373
    7474#
    75 # It the rtems_bsps is all undefine it
     75# Check the various --with/--without options we support.
    7676#
    77 %if %{defined rtems_bsps}
    78  %if %{rtems_bsps} == all
    79   %undefine rtems_bsps
    80  %endif
     77# --with-rtemsbsp   : Supported, list of BSPs
     78# --without-rtemsbsp: Not supported
     79# --with-tests      : Supported, samples/yes/no
     80# --without-tests   : Not supported
     81# --with-smp        : Supported
     82# --without-smp     : Not care
     83#
     84#
     85%if %{defined without_rtemsbsp}
     86 %error Option --without-rtemsbsp is not supported.
     87%endif
     88%if %{defined without_rtems_tests}
     89 %define with_rtems_tests no
    8190%endif
    8291
     
    115124    %{?rtems_networking:--enable-networking}%{!?rtems_networking:--disable-networking} \
    116125    %{?rtems_cxx:--enable-cxx}%{!?rtems_cxx:--disable-cxx} \
    117     %{rtems_tests_opt} \
    118     %{?rtems_bsps:--enable-rtemsbsp=%{rtems_bsps}} \
     126    %{?with_rtems_tests:--enable-tests=%{with_rtems_tests}} \
     127    %{?with_rtemsbsp:--enable-rtemsbsp="%{with_rtemsbsp}"} \
     128    %{?with_rtems_smp:--enable-smp} \
    119129    --prefix=%{_prefix} --bindir=%{_bindir} \
    120130    --exec-prefix=%{_exec_prefix} \
  • rtems/config/tools/rtems-kernel-4.11.cfg

    r8d0e377 rb290154  
    22# RTEMS 4.11
    33#
     4
     5#
     6# Build if the RSB is released.
     7#
     8%if %{rsb_released}
     9 %define rtems_kernel_build 1
     10%endif
    411
    512#
     
    1118 %define rtems_kernel_build 0
    1219%endif
    13 
    14 #
    15 # Build if the RSB is released.
    16 #
    17 %if ! %{rtems_kernel_build}
    18  %if %{rsb_released}
    19   %define rtems_kernel_build 1
    20  %endif
     20%if %{defined without_rtems}
     21 %define rtems_kernel_build 0
    2122%endif
    2223
Note: See TracChangeset for help on using the changeset viewer.