4.115
Last change
on this file since 4778c6e0 was
8785e906,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/16/09 at 23:12:55
|
2009-07-16 Joel Sherrill <joel.sherrill@…>
- aclocal/bsp-bootcard-options.m4: Rename BSP_BOOTCARD_OPTIONS to
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
now use the same macros.
- aclocal/bsp-bspcleanup-options.m4: New file.
|
-
Property mode set to
100644
|
File size:
914 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | |
---|
4 | dnl BSP_CLEANUP_OPTIONS - some autoconf voodoo to provide each BSPs' |
---|
5 | dnl configure script with the standard options supported by the shared |
---|
6 | dnl implementation of bsp_cleanup(). |
---|
7 | dnl |
---|
8 | dnl - Can optionally dirty memory at boot time. |
---|
9 | dnl |
---|
10 | |
---|
11 | dnl To be used in bsp-configure scripts |
---|
12 | |
---|
13 | dnl USAGE: |
---|
14 | dnl RTEMS_BSP_CLEANUP_OPTIONS([0|1], [0|1]) |
---|
15 | dnl WHERE: |
---|
16 | dnl argument 1 indicates the default value for BSP_PRESS_KEY_FOR_RESET |
---|
17 | dnl argument 2 indicates the default value for BSP_RESET_BOARD_AT_EXIT |
---|
18 | |
---|
19 | AC_DEFUN([RTEMS_BSP_CLEANUP_OPTIONS],[ |
---|
20 | RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[$1]) |
---|
21 | RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET], |
---|
22 | [If defined, print a message and wait until pressed before resetting |
---|
23 | board when application exits.]) |
---|
24 | |
---|
25 | RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[$2]) |
---|
26 | RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT], |
---|
27 | [If defined, reset the board when the application exits.]) |
---|
28 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.