source: rtems/c/src/lib/libbsp/powerpc/virtex/configure.ac @ 0ba2736

4.115
Last change on this file since 0ba2736 was 0ba2736, checked in by Sebastian Huber <sebastian.huber@…>, on 06/18/13 at 14:12:56

bsp/virtex: Replace low-level BSP start code

Use linkcmds.base. Use EABI with small-data area.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
5AC_CONFIG_SRCDIR([bsp_specs])
6RTEMS_TOP(../../../../../..)
7
8RTEMS_CANONICAL_TARGET_CPU
9AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
10RTEMS_BSP_CONFIGURE
11
12RTEMS_PROG_CC_FOR_TARGET
13RTEMS_CANONICALIZE_TOOLS
14RTEMS_PROG_CCAS
15
16RTEMS_CHECK_NETWORKING
17
18AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
19
20RTEMS_BSPOPTS_SET([BSP_START_STACK_SIZE],[*],[4096])
21RTEMS_BSPOPTS_HELP([BSP_START_STACK_SIZE],[size of low-level start stack])
22
23RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
24RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
25[If defined, then the PowerPC specific code in RTEMS will use some
26 of the special purpose registers to slightly optimize interrupt
27 response time.  The use of these registers can conflict with
28 other tools like debuggers.])
29
30RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
31RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
32[This defines the base address of the exception table.
33 NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
34
35RTEMS_BSPOPTS_SET([RTEMS_XPARAMETERS_H],[*],[\<xparameters_dflt.h\>])
36RTEMS_BSPOPTS_HELP([RTEMS_XPARAMETERS_H],
37[This defines the location of the hardware specific "xparameters.h" file.
38 in the file system. Specify an absolute path. Do not forget the double quotes])
39
40#RSG Start - Actually, I think this is wrong
41RTEMS_BSPOPTS_SET([RTEMS_XPPC_BASE],[*],[.])
42RTEMS_BSPOPTS_HELP([RTEMS_XPPC_BASE],[Defines path to Xilinx XPS PPC libraries.])
43#RSG End
44
45AC_DEFUN([VIRTEX_REGION],[
46AC_ARG_VAR([$1],[$2; default $3])dnl
47[$1]=[$]{[$1]:-[$3]}
48])
49
50VIRTEX_REGION([VIRTEX_RAM_ORIGIN],[normal RAM region origin],[0x0])
51VIRTEX_REGION([VIRTEX_RAM_LENGTH],[normal RAM region length],[0x7ffffec])
52VIRTEX_REGION([VIRTEX_FAST_RAM_ORIGIN],[fast RAM region origin],[0x0])
53VIRTEX_REGION([VIRTEX_FAST_RAM_LENGTH],[fast RAM region length],[0x0])
54VIRTEX_REGION([VIRTEX_RESET_ORIGIN],[reset region origin],[0x7ffffec])
55VIRTEX_REGION([VIRTEX_RESET_LENGTH],[reset region length],[0x14])
56
57RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
58
59# Explicitly list all Makefiles here
60AC_CONFIG_FILES([
61Makefile
62startup/linkcmds
63])
64
65RTEMS_PPC_EXCEPTIONS
66
67AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.