1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | |
---|
3 | AC_PREREQ([2.69]) |
---|
4 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
5 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
6 | RTEMS_TOP(../../../../../..) |
---|
7 | |
---|
8 | RTEMS_CANONICAL_TARGET_CPU |
---|
9 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) |
---|
10 | RTEMS_BSP_CONFIGURE |
---|
11 | |
---|
12 | RTEMS_PROG_CC_FOR_TARGET |
---|
13 | RTEMS_CANONICALIZE_TOOLS |
---|
14 | RTEMS_PROG_CCAS |
---|
15 | |
---|
16 | RTEMS_CHECK_NETWORKING |
---|
17 | |
---|
18 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
19 | |
---|
20 | RTEMS_BSPOPTS_SET([BSP_START_STACK_SIZE],[*],[4096]) |
---|
21 | RTEMS_BSPOPTS_HELP([BSP_START_STACK_SIZE],[size of low-level start stack]) |
---|
22 | |
---|
23 | RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1]) |
---|
24 | RTEMS_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 | |
---|
30 | RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100]) |
---|
31 | RTEMS_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 | |
---|
35 | RTEMS_BSPOPTS_SET([RTEMS_XPARAMETERS_H],[*],[\<xparameters_dflt.h\>]) |
---|
36 | RTEMS_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 |
---|
41 | RTEMS_BSPOPTS_SET([RTEMS_XPPC_BASE],[*],[.]) |
---|
42 | RTEMS_BSPOPTS_HELP([RTEMS_XPPC_BASE],[Defines path to Xilinx XPS PPC libraries.]) |
---|
43 | #RSG End |
---|
44 | |
---|
45 | AC_DEFUN([VIRTEX_REGION],[ |
---|
46 | AC_ARG_VAR([$1],[$2; default $3])dnl |
---|
47 | [$1]=[$]{[$1]:-[$3]} |
---|
48 | ]) |
---|
49 | |
---|
50 | VIRTEX_REGION([VIRTEX_RAM_ORIGIN],[normal RAM region origin],[0x0]) |
---|
51 | VIRTEX_REGION([VIRTEX_RAM_LENGTH],[normal RAM region length],[0x7ffffec]) |
---|
52 | VIRTEX_REGION([VIRTEX_FAST_RAM_ORIGIN],[fast RAM region origin],[0x0]) |
---|
53 | VIRTEX_REGION([VIRTEX_FAST_RAM_LENGTH],[fast RAM region length],[0x0]) |
---|
54 | VIRTEX_REGION([VIRTEX_RESET_ORIGIN],[reset region origin],[0x7ffffec]) |
---|
55 | VIRTEX_REGION([VIRTEX_RESET_LENGTH],[reset region length],[0x14]) |
---|
56 | |
---|
57 | RTEMS_BSP_CLEANUP_OPTIONS(0, 1) |
---|
58 | |
---|
59 | # Explicitly list all Makefiles here |
---|
60 | AC_CONFIG_FILES([ |
---|
61 | Makefile |
---|
62 | startup/linkcmds |
---|
63 | ]) |
---|
64 | |
---|
65 | RTEMS_PPC_EXCEPTIONS |
---|
66 | |
---|
67 | AC_OUTPUT |
---|