Changeset 4b88b73 in rtems for contrib/rtemsrpms


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.

Location:
contrib/rtemsrpms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/rtemsrpms/configure.ac

    rd2efdeb1 r4b88b73  
    8686bsps="%{nil}"
    8787AC_ARG_ENABLE([bsps],
    88 [  --enable-bsps=<yes/bsps>      BSP list],[
     88[  --enable-bsps=<yes/no/bsps>    BSP list],[
    8989  case "$enable_bsps" in
    9090  yes) # ignore, use default
     91   bsps="all"
    9192   ;;
    92   no)
    93    bsps="RTEMS_BSP=\"\""
     93  no | none)
     94   bsps="%{nil}"
    9495   ;;
    9596  *) # take a the list to build
    96    bsps="RTEMS_BSP=\"$enable_bsps\""
     97   bsps="$enable_bsps"
    9798   ;;
    9899  esac
    99100])
    100101AS_IF([test x"$bsps" = x"%{nil}"],
    101       [AC_MSG_RESULT([all])],
     102      [AC_MSG_RESULT([none])],
    102103      [AC_MSG_RESULT([$bsps])])
    103104
  • 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.