1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.60) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-i386-pc386],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
8 | RTEMS_TOP(../../../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
15 | RTEMS_CANONICALIZE_TOOLS |
---|
16 | RTEMS_CHECK_TOOL(OBJCOPY,objcopy,:) |
---|
17 | RTEMS_PROG_CCAS |
---|
18 | |
---|
19 | RTEMS_CHECK_NETWORKING |
---|
20 | |
---|
21 | RTEMS_BSPOPTS_SET([USE_COM1_AS_CONSOLE],[*],[0]) |
---|
22 | RTEMS_BSPOPTS_HELP([USE_COM1_AS_CONSOLE], |
---|
23 | [Determines, whether the console will be associated with the standard |
---|
24 | VGA display or with the COM1 serial port. Currently only the VGA |
---|
25 | display and COM1 support printk.]) |
---|
26 | |
---|
27 | RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1]) |
---|
28 | RTEMS_BSPOPTS_HELP([IDE_USE_PRIMARY_INTERFACE], |
---|
29 | [Determines, whether RTEMS will try to use the primary IDE interface. |
---|
30 | Disable it, if: |
---|
31 | - you have no primary IDE interface |
---|
32 | - or you have no disk attached to this interface |
---|
33 | - or you do not want to access disks attached to this interface]) |
---|
34 | |
---|
35 | RTEMS_BSPOPTS_SET([IDE_USE_SECONDARY_INTERFACE],[*],[0]) |
---|
36 | RTEMS_BSPOPTS_HELP([IDE_USE_SECONDARY_INTERFACE], |
---|
37 | [Determines, whether RTEMS will try to use the secondary IDE interface. |
---|
38 | Enable it, if: |
---|
39 | - you have a secondary IDE interface |
---|
40 | - and you have at least one disk attached to this interface |
---|
41 | - and you do want to access disks attached to this interface]) |
---|
42 | |
---|
43 | RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[1]) |
---|
44 | RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET], |
---|
45 | [Determines, whether this BSP will wait for a key to be pressed |
---|
46 | before rebooting the PC. This is useful for unattended PC deployments |
---|
47 | ]) |
---|
48 | |
---|
49 | ## if this is an i386, does gas have good code16 support? |
---|
50 | RTEMS_I386_GAS_CODE16 |
---|
51 | AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"]) |
---|
52 | |
---|
53 | AM_CONDITIONAL(HAS_NETWORKING,[test "$HAS_NETWORKING" = "yes"]) |
---|
54 | |
---|
55 | AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)']) |
---|
56 | |
---|
57 | RTEMS_CONFIG_BUILD_SUBDIRS(tools) |
---|
58 | |
---|
59 | AC_SUBST(RTEMS_BSP) |
---|
60 | |
---|
61 | RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION |
---|
62 | |
---|
63 | # Explicitly list all Makefiles here |
---|
64 | AC_CONFIG_FILES([Makefile]) |
---|
65 | AC_OUTPUT |
---|