mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-11-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-linkcmds.m4: New.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
19
c/src/aclocal/bsp-linkcmds.m4
Normal file
19
c/src/aclocal/bsp-linkcmds.m4
Normal 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}])
|
||||||
|
])
|
||||||
Reference in New Issue
Block a user