2009-11-03 Ralf Corsépius <ralf.corsepius@rtems.org>

* aclocal/bsp-linkcmds.m4: New.
This commit is contained in:
Ralf Corsepius
2009-11-03 08:49:05 +00:00
parent fb198bd709
commit 70d7a36e4c
2 changed files with 23 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2009-11-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-linkcmds.m4: New.
2009-10-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2009-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Rework CFLAGS setup. * configure.ac: Rework CFLAGS setup.

View File

@@ -0,0 +1,19 @@
dnl $Id$
dnl Install a BSP's linkcmds from the source-tree into the build-tree
AC_DEFUN([RTEMS_BSP_LINKCMDS],[
LINKCMDS=
for f in "${srcdir}/startup/linkcmds.${RTEMS_BSP}" \
"${srcdir}/startup/linkcmds.${RTEMS_BSP_FAMILY}" \
"${srcdir}/startup/linkcmds";
do
AS_IF([test -f "$f"],[
LINKCMDS="$f"
break])
done
AS_IF([test -z "${LINKCMDS}"],[
AC_MSG_ERROR([can not determine linkcmds])])
AC_CONFIG_LINKS([startup/linkcmds:${LINKCMDS}])
])