[d7aecdc] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
| 2 | ## |
---|
| 3 | ## $Id$ |
---|
| 4 | |
---|
[9b5c258] | 5 | AC_PREREQ(2.57) |
---|
[7dcc3fe] | 6 | AC_INIT([rtems-c-src-lib-libbsp-i386-ts_386ex],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) |
---|
[d7aecdc] | 7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
| 8 | RTEMS_TOP(../../../../../..) |
---|
| 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
[ccd81b60] | 11 | AM_INIT_AUTOMAKE([no-define foreign 1.7.2]) |
---|
[9e1ae79] | 12 | RTEMS_BSP_CONFIGURE |
---|
[d7aecdc] | 13 | |
---|
| 14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
| 15 | RTEMS_CANONICALIZE_TOOLS |
---|
| 16 | |
---|
| 17 | RTEMS_CHECK_NETWORKING |
---|
| 18 | |
---|
| 19 | ## if this is an i386, does gas have good code16 support? |
---|
| 20 | RTEMS_I386_GAS_CODE16 |
---|
[658ad222] | 21 | AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes") |
---|
[d7aecdc] | 22 | |
---|
| 23 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
| 24 | |
---|
| 25 | RTEMS_CONFIG_BUILD_SUBDIRS(tools) |
---|
| 26 | |
---|
[84eed6cd] | 27 | # bsp-specific options |
---|
| 28 | RTEMS_BSPOPTS_SET([LOAD_RTC_AT_START],[*],[1]) |
---|
| 29 | RTEMS_BSPOPTS_HELP([LOAD_RTC_AT_START], |
---|
| 30 | [Initialize RTC and load into system clock at startup. This will break |
---|
| 31 | some tests.]) |
---|
| 32 | |
---|
| 33 | RTEMS_BSPOPTS_SET([BSP_DEBUG],[*],[]) |
---|
| 34 | RTEMS_BSPOPTS_HELP([BSP_DEBUG], |
---|
| 35 | [Enables some debugging in the BSP package.]) |
---|
| 36 | |
---|
| 37 | RTEMS_BSPOPTS_SET([UARTDEBUG],[*],[]) |
---|
| 38 | RTEMS_BSPOPTS_HELP([UARTDEBUG], |
---|
| 39 | [Enables some debugging in the BSP's uart.]) |
---|
| 40 | |
---|
[d7aecdc] | 41 | |
---|
| 42 | # Explicitly list all Makefiles here |
---|
| 43 | AC_CONFIG_FILES([Makefile |
---|
| 44 | clock/Makefile |
---|
| 45 | console/Makefile |
---|
| 46 | include/Makefile |
---|
| 47 | start/Makefile |
---|
| 48 | startup/Makefile |
---|
| 49 | timer/Makefile |
---|
| 50 | network/Makefile |
---|
| 51 | wrapup/Makefile]) |
---|
| 52 | AC_OUTPUT |
---|