4.104.115
Last change
on this file since 06df9bf was
bc7353d5,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/15/09 at 03:50:38
|
2009-10-15 Ralf Corsépius <ralf.corsepius@…>
- aclocal/check-custom-bsp.m4: Let _RTEMS_CHECK_CUSTOM_BSP look for
*.cfg into c/src/lib/libbsp/<cpu>/<bsp_family>/make/custom.
|
-
Property mode set to
100644
|
File size:
667 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | |
---|
3 | AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[ |
---|
4 | AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target |
---|
5 | AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir |
---|
6 | $2= |
---|
7 | AC_MSG_CHECKING([for $1]) |
---|
8 | for i in "${srcdir}/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/make/custom/"$1" \ |
---|
9 | "${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}"/*/cfg/"$1" \ |
---|
10 | "${srcdir}/${RTEMS_TOPdir}/make/custom/$1"; |
---|
11 | do |
---|
12 | AS_IF([test -r $i],[ |
---|
13 | $2="$i" |
---|
14 | break; |
---|
15 | ]) |
---|
16 | done |
---|
17 | AS_IF([test -n "[$]$2"], |
---|
18 | [AC_MSG_RESULT([[$]$2])], |
---|
19 | [AC_MSG_RESULT([no])]) |
---|
20 | ]) |
---|
21 | |
---|
22 | AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[ |
---|
23 | AC_REQUIRE([RTEMS_TOP]) |
---|
24 | _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND]) |
---|
25 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.