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],[https://devel.rtems.org/newticket]) |
---|
5 | RTEMS_TOP(../../../../../..) |
---|
6 | RTEMS_SOURCE_TOP |
---|
7 | RTEMS_BUILD_TOP |
---|
8 | |
---|
9 | RTEMS_CANONICAL_TARGET_CPU |
---|
10 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) |
---|
11 | RTEMS_BSP_CONFIGURE |
---|
12 | |
---|
13 | |
---|
14 | |
---|
15 | |
---|
16 | RTEMS_BSPOPTS_SET([BSP_START_STACK_SIZE],[*],[4096]) |
---|
17 | RTEMS_BSPOPTS_HELP([BSP_START_STACK_SIZE],[size of low-level start stack]) |
---|
18 | |
---|
19 | RTEMS_BSPOPTS_SET([RTEMS_XPARAMETERS_H],[*],[\<xparameters_dflt.h\>]) |
---|
20 | RTEMS_BSPOPTS_HELP([RTEMS_XPARAMETERS_H], |
---|
21 | [This defines the location of the hardware specific "xparameters.h" file. |
---|
22 | in the file system. Specify an absolute path. Do not forget the double quotes]) |
---|
23 | |
---|
24 | RTEMS_BSPOPTS_SET([VIRTEX_CONSOLE_USE_INTERRUPTS],[*],[1]) |
---|
25 | RTEMS_BSPOPTS_HELP([VIRTEX_CONSOLE_USE_INTERRUPTS],[if defined use interrupt driven Termios mode]) |
---|
26 | |
---|
27 | AC_DEFUN([VIRTEX_REGION],[ |
---|
28 | AC_ARG_VAR([$1],[$2; default $3])dnl |
---|
29 | [$1]=[$]{[$1]:-[$3]} |
---|
30 | ]) |
---|
31 | |
---|
32 | VIRTEX_REGION([VIRTEX_RAM_ORIGIN],[normal RAM region origin],[0x0]) |
---|
33 | VIRTEX_REGION([VIRTEX_RAM_LENGTH],[normal RAM region length],[0x7ffffec]) |
---|
34 | VIRTEX_REGION([VIRTEX_FAST_RAM_ORIGIN],[fast RAM region origin],[0x0]) |
---|
35 | VIRTEX_REGION([VIRTEX_FAST_RAM_LENGTH],[fast RAM region length],[0x0]) |
---|
36 | VIRTEX_REGION([VIRTEX_RESET_ORIGIN],[reset region origin],[0x7ffffec]) |
---|
37 | VIRTEX_REGION([VIRTEX_RESET_LENGTH],[reset region length],[0x14]) |
---|
38 | |
---|
39 | AC_DEFINE(ppc405, 1, [PowerPC model option]) |
---|
40 | |
---|
41 | RTEMS_BSP_CLEANUP_OPTIONS |
---|
42 | |
---|
43 | # Explicitly list all Makefiles here |
---|
44 | AC_CONFIG_FILES([ |
---|
45 | Makefile |
---|
46 | linkcmds:../../../../../../bsps/powerpc/virtex/start/linkcmds.in |
---|
47 | ]) |
---|
48 | |
---|
49 | RTEMS_PPC_EXCEPTIONS |
---|
50 | |
---|
51 | AC_OUTPUT |
---|