Changeset d542af2e in rtems for aclocal


Ignore:
Timestamp:
May 11, 2018, 4:22:49 AM (14 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
02c46f85
Parents:
4387010
git-author:
Sebastian Huber <sebastian.huber@…> (05/11/18 04:22:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/14/18 12:13:01)
Message:

build: Fix RTEMS_ENABLE_RTEMSBSP()

The riscv32 and riscv64 targets share a riscv source directory. The
potential future powerpcspe and powerpc targets need this change as
well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/enable-rtemsbsp.m4

    r4387010 rd542af2e  
    3535         if test x$bsp = x$cfg_bsp; then
    3636           cfg_arch=$(echo ${bsp_path} | sed -e "s/${libbsp_e}*\///" -e 's/\/.*//')
    37            if test x${target_arch} != x${cfg_arch}; then
    38              AC_MSG_ERROR([BSP '$bsp' architecture does not match the --target architecture, run 'rtems-bsp' (in the top of the source tree) for a valid BSP list])
    39            fi
     37           case ${cfg_arch} in
     38             ${target_arch$}* )
     39               ;;
     40             * )
     41               AC_MSG_ERROR([BSP '$bsp' architecture does not match the --target architecture, run 'rtems-bsp' (in the top of the source tree) for a valid BSP list])
     42               ;;
     43           esac
    4044           found=yes
    4145           break
Note: See TracChangeset for help on using the changeset viewer.