source: rtems/c/src/lib/libbsp/i386/pc386/configure.ac @ 6bf9e0a

4.104.115
Last change on this file since 6bf9e0a was 6bf9e0a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/20/09 at 05:51:15

2009-10-20 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: Don't add -ansi -fasm to CFLAGS.
  • Property mode set to 100644
File size: 3.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.60)
6AC_INIT([rtems-c-src-lib-libbsp-i386-pc386],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
7AC_CONFIG_SRCDIR([bsp_specs])
8RTEMS_TOP(../../../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10])
12RTEMS_BSP_CONFIGURE
13
14RTEMS_PROG_CC_FOR_TARGET
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 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
43RTEMS_BSPOPTS_SET([BSP_VIDEO_80x50],[*],[0])
44RTEMS_BSPOPTS_HELP([BSP_VIDEO_80x50],
45[If defined, set the VGA display to 80x50.])
46
47RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_TSC],[*],[0])
48RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_TSC],
49[If enabled, the clock driver will use the TSC register available
50 with Pentium-class CPUs to report close to nanosecond-accuracy
51 clock times.
52 Enable it, if:
53 - you have nanosecond timing enabled (you do NOT have
54   USE_TICKS_FOR_CPU_USAGE_STATISTICS enabled)
55 - you do NOT have CLOCK_DRIVER_USE_8254 enabled (use one, the other,
56   or neither)
57 - you have a Pentium which supports TSC (all Intels, and probably
58   all or most clones)
59 - you do not have a variable-speed CPU clock. Note that some
60   motherboard BIOS will automatically vary clock speed for thermal
61   control. Note also, however, that really new Pentium-class chips
62   from Intel and AMD will maintain a constant-rate TSC regardless.
63])
64
65RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_8254],[*],[0])
66RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_8254],
67[If enabled, the clock driver will use the good old 8254 chip
68 to report microsecond-accuracy clock times.
69 Enable it, if:
70 - you have nanosecond timing enabled (you do NOT have
71   USE_TICKS_FOR_CPU_USAGE_STATISTICS enabled)
72 - you do NOT have CLOCK_DRIVER_USE_TSC enabled (use one, the other,
73   or neither)
74 - you do not mind adding roughly 5 microseconds to each context switch.
75])
76
77if test X${CLOCK_DRIVER_USE_TSC} = X1 -a X${CLOCK_DRIVER_USE_8254} = X1 ; then
78  AC_MSG_ERROR([pc386 both TSC and 8254 specified for clock driver])
79fi
80
81#define CLOCK_DRIVER_USE_8254 $CLOCK_DRIVER_USE_8254
82## if this is an i386, does gas have good code16 support?
83RTEMS_I386_GAS_CODE16
84AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"])
85
86AM_CONDITIONAL(HAS_NETWORKING,[test "$HAS_NETWORKING" = "yes"])
87
88AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)'])
89
90RTEMS_CONFIG_BUILD_SUBDIRS(tools)
91
92AC_SUBST(RTEMS_BSP)
93
94RTEMS_BSP_CLEANUP_OPTIONS(1, 1)
95
96# Explicitly list all Makefiles here
97AC_CONFIG_FILES([Makefile])
98AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.