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

5
Last change on this file since c8dcdf54 was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

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