Changeset f077b2b in rtems-source-builder for rtems


Ignore:
Timestamp:
Apr 22, 2013, 12:28:27 PM (7 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
1869040
Parents:
5f44fcd
Message:

Fixes for CVS to work. Add RTEMS build for sparc/sis.

Location:
rtems/config
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • rtems/config/4.11/rtems-sparc.bset

    r5f44fcd rf077b2b  
    66
    77%define rtems_arch sparc
     8
     9#
     10# The RTEMS 4.11 BSP to build and test
     11#
     12%define rtems_bsps      sis
     13%define rtems_test_bsps sis
    814
    915#
     
    1925tools/rtems-gcc-4.7.3-newlib-2.0.0-1
    2026tools/rtems-gdb-7.5.1-1
     27tools/rtems-kernel-4.11.cfg
  • rtems/config/tools/rtems-kernel-4-1.cfg

    r5f44fcd rf077b2b  
    4747#
    4848%prep
     49  source_dir_0="rtems-%{rtems_kernel_version}"
    4950  %setup -q -c -n %{name}-%{version}
    50   cd rtems-%{rtems_kernel_version}
     51  cd ${source_dir_0}
    5152  %{?patch0:%patch0 %{?patch0_opts:%{patch0_opts}}%{!?patch0_opts:-p1}}
    5253  %{?patch1:%patch1 %{?patch1_opts:%{patch1_opts}}%{!?patch1_opts:-p1}}
     
    5960  %{?patch8:%patch8 %{?patch8_opts:%{patch8_opts}}%{!?patch8_opts:-p1}}
    6061  %{?patch9:%patch9 %{?patch9_opts:%{patch9_opts}}%{!?patch9_opts:-p1}}
     62%if %{rtems_bootstrap}
     63  ./bootstrap -c
     64  ./bootstrap -p
     65  ./bootstrap
     66%endif
    6167  cd ..
    6268
    6369%build
    64   export PATH="%{_bindir}:${PATH}"
    65   mkdir -p build
    66   cd build
    67   %{?host_force_32bit:HOST_FORCE_32BIT="-m32"}
    68 %if "%{_build}" != "%{_host}"
    69   CFLAGS_FOR_BUILD="-g -O2 -Wall ${HOST_FORCE_32BIT}" \
    70 %endif
    71   CFLAGS="$SB_OPT_FLAGS" \
    72   ../rtems-%{rtems_kernel_version}/configure \
     70  # Build directory support.
     71  if test "%{_build}" != "%{_host}" ; then
     72    build_dir="build-cxc"
     73  else
     74    build_dir="build"
     75  fi
     76  mkdir -p ${build_dir}
     77  cd ${build_dir}
     78
     79  ../${source_dir_0}/configure \
    7380    --build=%{_build} --host=%{_host} \
    7481    --target=%{_target} \
     
    7784    %{?rtems_cxx:--enable-cxx}%{!?rtems_cxx:--disable-cxx} \
    7885    %{rtems_tests_opt} \
     86    %{?rtems_bsps:--enable-rtemsbsp=%{rtems_bsps}} \
    7987    --target=%{_target} \
    8088    --prefix=%{_prefix} --bindir=%{_bindir} \
     
    8795
    8896%install
    89   export PATH="%{_bindir}:${PATH}"
    90   rm -rf $SB_BUILD_ROOT
     97  %{__rmdir} $SB_BUILD_ROOT
    9198
    92   cd build
     99  cd ${build_dir}
    93100  %{__make} DESTDIR=$SB_BUILD_ROOT install
    94101
    95102  cd ..
     103
     104%testing
Note: See TracChangeset for help on using the changeset viewer.