blob: 3e40638f88c2956b64abd65e6256fe2b1aa14c31 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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([linkcmds:${LINKCMDS}])
])
|