source: rtems/c/src/aclocal/bsp-linkcmds.m4 @ 0c0181d

4.115
Last change on this file since 0c0181d was 70d7a36e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/03/09 at 08:49:05

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

  • aclocal/bsp-linkcmds.m4: New.
  • Property mode set to 100644
File size: 455 bytes
Line 
1dnl $Id$
2
3dnl Install a BSP's linkcmds from the source-tree into the build-tree
4AC_DEFUN([RTEMS_BSP_LINKCMDS],[
5LINKCMDS=
6for f in "${srcdir}/startup/linkcmds.${RTEMS_BSP}" \
7  "${srcdir}/startup/linkcmds.${RTEMS_BSP_FAMILY}" \
8  "${srcdir}/startup/linkcmds";
9do
10  AS_IF([test -f "$f"],[
11    LINKCMDS="$f"
12    break])
13done
14
15AS_IF([test -z "${LINKCMDS}"],[
16  AC_MSG_ERROR([can not determine linkcmds])])
17
18AC_CONFIG_LINKS([startup/linkcmds:${LINKCMDS}])
19])
Note: See TracBrowser for help on using the repository browser.