summaryrefslogtreecommitdiffstats
path: root/aclocal
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-15 22:46:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-15 22:46:44 +0000
commitd2d22780d5c6d95a9ae3f44d9b40a019defba934 (patch)
tree86c0f288b6df03e4c7ed1780591be5e084b4556f /aclocal
parentAttempt at getting desired ioctl.h included. :) (diff)
downloadrtems-d2d22780d5c6d95a9ae3f44d9b40a019defba934.tar.bz2
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> When I run my script that just repeatedly builds different targets, some > of them die with an error like this: > > Making all RTEMS_BSP=gen68360 in cpugmake[5]: Entering directory > `/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu' > Making all RTEMS_BSP=gen68360 in @RTEMS_CPU@ > /bin/sh: @RTEMS_CPU@: No such file or directory > gmake[5]: *** [all] Error 1 > gmake[5]: Leaving directory > `/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu' > > It is not always the same variable substitution that fails. Sometimes it > is @INSTALL@. But reliably, it is a variable substitution that is > failing. > > Do you have any idea why this happens? Yep, I think I know what's going on. AC_SUBST(RTEMS_CPU) is missing in configure.ins, thus @RTEMS_CPU@ in target.cfg.in doesn't get substituted correctly, causing the bug above. Due to the redundancy of RTEMS_CPU, other most BSPs don't seem to be affected. Other similar problems probably exist for the unix/posix bsp and the hppa.1 cpu, because their */tools/*Makefile.ams require RTEMS_CPU, too.
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/canonical-target-name.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/aclocal/canonical-target-name.m4 b/aclocal/canonical-target-name.m4
index 65c55b8dc5..7439ee74df 100644
--- a/aclocal/canonical-target-name.m4
+++ b/aclocal/canonical-target-name.m4
@@ -40,5 +40,6 @@ case "${rtems_target}" in
;;
esac
changequote([,])dnl
+AC_SUBST(RTEMS_CPU)
AC_MSG_RESULT($RTEMS_CPU)
])