4.104.114.84.95
Last change
on this file since d04abc83 was
d04abc83,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/25/04 at 10:36:41
|
2004-03-25 Ralf Corsepius <corsepiu@…>
- aclocal/rtems-top.m4: Add rtems_rootdir.
- aclocal/check-custom-bsp.m4: Check for $RTEMS_BSP.cfg in $rtems_rootdir.
|
-
Property mode set to
100644
|
File size:
449 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | |
---|
3 | AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[ |
---|
4 | for i in ${rtems_rootdir}/make/custom/$1; |
---|
5 | do |
---|
6 | AC_MSG_CHECKING([for $i]) |
---|
7 | AS_IF([test -r $i],[ |
---|
8 | $2="$i" |
---|
9 | AC_MSG_RESULT([yes]) |
---|
10 | break; |
---|
11 | ],[ |
---|
12 | AC_MSG_RESULT([no]) |
---|
13 | ]) |
---|
14 | done |
---|
15 | ]) |
---|
16 | |
---|
17 | AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[ |
---|
18 | AC_REQUIRE([RTEMS_TOP]) |
---|
19 | _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND]) |
---|
20 | AS_IF([test -z "$BSP_FOUND"],[ |
---|
21 | AC_MSG_ERROR([missing [$]$1.cfg]) |
---|
22 | ]) |
---|
23 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.