Changeset 4b88b73 in rtems for contrib/rtemsrpms/rtems.spec.in


Ignore:
Timestamp:
Sep 3, 2006, 10:50:36 AM (14 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7f247f3
Parents:
d2efdeb1
Message:

Default to not building bsps. Too many problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/rtemsrpms/rtems.spec.in

    rd2efdeb1 r4b88b73  
    2323%define rtems_rpmvers   %{expand:%(echo @RTEMS_VERSION@ | tr - _ )}
    2424
    25 %define rtems_bsp       @RTEMS_BSP@
     25%define rtems_bsps      @RTEMS_BSP@
    2626
    2727%define rtems_bootstrap @RTEMS_BOOTSTRAP@
     
    5858%build
    5959  if [ "%{rtems_bootstrap}" = "yes" ]; then
    60    cd rtems-%{rtems_api}
     60   cd rtems-%{rtems_version}
    6161   ./bootstrap
    6262   cd ..
    6363  fi
    6464  mkdir -p build
     65  if [ "x%{rtems_bsps}" = "x" ]; then
     66   optargs="$optargs --disable-rtemsbsp"
     67  else
     68   optargs="$optargs --enable-rtemsbsp=\"%{rtems_bsps}\""
     69  fi
    6570  cd build
    66   bps=""
    6771  ../rtems-%{rtems_version}/configure \
    6872    --prefix=%{_prefix} \
     
    8286    --enable-multilib \
    8387    $optargs
    84   make all %{rtems_bsp}
     88  make all
    8589  cd ..
    8690
     
    104108
    105109# broken on the avr
    106 %config %{_prefix}/lib/pkgconfig
     110#%config %{_prefix}/lib/pkgconfig
    107111%config %{_prefix}/make
    108112%doc    %{_prefix}/share/man
Note: See TracChangeset for help on using the changeset viewer.