source: rtems/c/src/lib/libbsp/i386/pc386/configure.ac @ 36ffcf3

4.104.114.84.95
Last change on this file since 36ffcf3 was 36ffcf3, checked in by Joel Sherrill <joel.sherrill@…>, on 02/01/06 at 20:57:35

2006-02-01 Joel Sherrill <joel@…>

  • configure.ac, console/console.c: Add USE_COM1_AS_CONSOLE BSP option. This makes it easy to build the pc386 BSP in a configuration that corresponds to qemu with COM1 redirected to stdio.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.59)
6AC_INIT([rtems-c-src-lib-libbsp-i386-pc386],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
7AC_CONFIG_SRCDIR([bsp_specs])
8RTEMS_TOP(../../../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.9])
12RTEMS_BSP_CONFIGURE
13
14RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
15RTEMS_CANONICALIZE_TOOLS
16RTEMS_CHECK_TOOL(OBJCOPY,objcopy,:)
17RTEMS_PROG_CCAS
18
19RTEMS_CHECK_NETWORKING
20
21RTEMS_BSPOPTS_SET([USE_COM1_AS_CONSOLE],[*],[0])
22RTEMS_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
27RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1])
28RTEMS_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
35RTEMS_BSPOPTS_SET([IDE_USE_SECONDARY_INTERFACE],[*],[0])
36RTEMS_BSPOPTS_HELP([IDE_USE_SECONDARY_INTERFACE],
37[Determines, whether RTEMS will try to use the primary 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## if this is an i386, does gas have good code16 support?
44RTEMS_I386_GAS_CODE16
45AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"])
46
47AM_CONDITIONAL(HAS_NETWORKING,[test "$HAS_NETWORKING" = "yes"])
48
49AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)'])
50
51RTEMS_CONFIG_BUILD_SUBDIRS(tools)
52
53AC_SUBST(RTEMS_BSP)
54
55# Explicitly list all Makefiles here
56AC_CONFIG_FILES([Makefile])
57AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.