4.104.115
Last change
on this file since fd1c1c9 was
ba5288d,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/22/04 at 14:47:07
|
2004-10-22 Ralf Corsepius <ralf_corsepius@…>
- alocal/check-custom-bsp.m4: Reflect new location of bspkit*cfg.
|
-
Property mode set to
100644
|
File size:
588 bytes
|
Rev | Line | |
---|
[ff65620] | 1 | dnl $Id$ |
---|
| 2 | |
---|
[504112d] | 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]) |
---|
[ba5288d] | 8 | for i in "${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}"/*/cfg/"$1" \ |
---|
[504112d] | 9 | "${srcdir}/${RTEMS_TOPdir}/make/custom/$1"; |
---|
| 10 | do |
---|
| 11 | AS_IF([test -r $i],[ |
---|
| 12 | $2="$i" |
---|
| 13 | break; |
---|
| 14 | ]) |
---|
| 15 | done |
---|
| 16 | AS_IF([test -n "[$]$2"], |
---|
| 17 | [AC_MSG_RESULT([[$]$2])], |
---|
| 18 | [AC_MSG_RESULT([no])]) |
---|
| 19 | ]) |
---|
[ff65620] | 20 | |
---|
[504112d] | 21 | AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[ |
---|
| 22 | AC_REQUIRE([RTEMS_TOP]) |
---|
| 23 | _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND]) |
---|
[ff65620] | 24 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.