[rtems commit] build: Really fix RTEMS_ENABLE_RTEMSBSP()
Sebastian Huber
sebh at rtems.org
Mon May 28 05:10:55 UTC 2018
Module: rtems
Branch: master
Commit: 0fe48afa164b8a028a8e529afbf55bdf19120eaa
Changeset: http://git.rtems.org/rtems/commit/?id=0fe48afa164b8a028a8e529afbf55bdf19120eaa
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon May 28 07:07:18 2018 +0200
build: Really fix RTEMS_ENABLE_RTEMSBSP()
The d542af2e4304b663461330a60313fb6c4fdbf4db commit was a bad one.
The riscv32 and riscv64 targets share a riscv source directory. The
potential future powerpcspe and powerpc targets need this change as
well.
For example ${target_arch} is "riscv32" and ${cfg_arch} is "riscv".
---
aclocal/enable-rtemsbsp.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/aclocal/enable-rtemsbsp.m4 b/aclocal/enable-rtemsbsp.m4
index 517190b..91ab607 100644
--- a/aclocal/enable-rtemsbsp.m4
+++ b/aclocal/enable-rtemsbsp.m4
@@ -34,8 +34,8 @@ AC_ARG_ENABLE(rtemsbsp,
cfg_bsp=$(echo ${bsp_path} | sed -e "s/.*\///" -e 's/\.cfg//')
if test x$bsp = x$cfg_bsp; then
cfg_arch=$(echo ${bsp_path} | sed -e "s/${libbsp_e}*\///" -e 's/\/.*//')
- case ${cfg_arch} in
- ${target_arch}* )
+ case ${target_arch} in
+ ${cfg_arch}* )
;;
* )
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])
More information about the vc
mailing list