Changeset adb85dd in rtems for c


Ignore:
Timestamp:
Apr 21, 2018, 8:22:08 AM (18 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f004ace8
Parents:
37dc047
git-author:
Sebastian Huber <sebastian.huber@…> (04/21/18 08:22:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/23/18 13:18:42)
Message:

bsps: Move make/custom/* files to bsps

Adjust various build files. Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

This patch is a part of the BSP source reorganization.

Update #3285.

Location:
c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/configure.ac

    r37dc047 radb85dd  
    66AC_CONFIG_SRCDIR([src])
    77RTEMS_TOP(..)
     8with_rtems_source_top=$(cd ${srcdir}/.. && pwd)
    89RTEMS_SOURCE_TOP
    910RTEMS_BUILD_TOP
     
    3132# Check sanity of BSPs in $rtems_bsp
    3233for _rtems_bsp in : $rtems_bsp; do test "x$_rtems_bsp" = x: && continue
    33   # make sure there is a make/custom file for the bsp
     34  # make sure there is a config/*.cfg file for the bsp
    3435  _RTEMS_CHECK_CUSTOM_BSP([$_rtems_bsp.cfg],[bsp_cfg])
    3536
  • c/src/aclocal/bsp-alias.m4

    r37dc047 radb85dd  
    11dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
    22dnl Internal subroutine to RTEMS_BSP_ALIAS
    3 AC_DEFUN([_RTEMS_BSP_ALIAS],
    4 [# account for "aliased" bsps which share source code
    5       for bsp_cfgs in `ls "$srcdir"/"$RTEMS_TOPdir"/c/src/lib/libbsp/"$RTEMS_CPU"/*/"make/custom/$1.cfg" 2>/dev/null`; do
     3AC_DEFUN([_RTEMS_BSP_ALIAS],[
     4AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
     5AC_REQUIRE([RTEMS_SOURCE_TOP])
     6# account for "aliased" bsps which share source code
     7      for bsp_cfgs in `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/"config/$1.cfg" 2>/dev/null`; do
    68        $2=`echo "$bsp_cfgs" | sed \
    7           -e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
    8           -e "s,/make/custom/.*\.cfg$,,"`
     9          -e "s,^${RTEMS_SOURCE_ROOT}/bsps/$RTEMS_CPU/,," \
     10          -e "s,/config/.*\.cfg$,,"`
    911        break
    1012      done
  • c/src/aclocal/check-custom-bsp.m4

    r37dc047 radb85dd  
    11AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
    22AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
    3 AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
     3AC_REQUIRE([RTEMS_SOURCE_TOP])dnl sets RTEMS_SOURCE_ROOT
    44  $2=
    55  for i in \
    6     `ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`;
     6    `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/config/$1 2>/dev/null`;
    77  do
    88    AS_IF([test -r $i],[
    99      $2="$i"
    10       break
     10      break;
    1111    ])
    1212  done
Note: See TracChangeset for help on using the changeset viewer.