source: rtems/testsuites/aclocal/rtems-bsp-linkcmds.m4 @ 16f3f10

5
Last change on this file since 16f3f10 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: 932 bytes
Line 
1dnl
2dnl RTEMS Include paths.
3dnl
4dnl This is messy because the linkcmds have no clear and defined structure.
5dnl There are BSP named linkcmds files, plain linkcmds file, configure template
6dnl .in files configure changes and shared versions of these. The approach to have
7dnl a single file for a number of BSPs in a family is sound, the lack of rules
8dnl means we have a range of variants and this results in following code.
9dnl
10dnl The preinstall hid a number of questionable things and preinstall has gone.
11dnl
12AC_DEFUN([RTEMS_BSP_LINKCMDS],
13[
14AC_REQUIRE([RTEMS_SOURCE_TOP])
15AC_REQUIRE([RTEMS_BUILD_TOP])
16
17AC_MSG_CHECKING([BSP linkcmds])
18
19RTEMS_BSP_ARCH_PATH="${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"
20RTEMS_BSP_ARCH_LINKCMDS_PATH="${RTEMS_BSP_ARCH_PATH}/shared/start"
21RTEMS_BSP_LIBBSP_PATH="${RTEMS_BUILD_ROOT}/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}"
22
23AC_SUBST(RTEMS_BSP_ARCH_LINKCMDS_PATH)
24AC_SUBST(RTEMS_BSP_LIBBSP_PATH)
25])
Note: See TracBrowser for help on using the repository browser.