source: rtems/c/src/lib/libbsp/powerpc/gen83xx/configure.ac @ f88da30

4.115
Last change on this file since f88da30 was f88da30, checked in by Sebastian Huber <sebastian.huber@…>, on 03/11/13 at 16:50:27

mpc83xx: Use shared linkcmds.base

  • Property mode set to 100644
File size: 3.6 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen83xx],[_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_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
17RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
18
19RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
20RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
21
22RTEMS_BSPOPTS_SET([BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN],[*],[1])
23RTEMS_BSPOPTS_HELP([BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN],[indicate that the interrupt stack is at the work area begin])
24
25RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8313ERDB],[mpc8313erdb],[1])
26RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8313ERDB],
27[if defined, then use settings for the MPC8313ERDB board])
28
29RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8349EAMDS],[mpc8349eamds],[1])
30RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8349EAMDS],
31[if defined, then use settings for the MPC8349EAMDS board])
32
33RTEMS_BSPOPTS_SET([MPC83XX_BOARD_HSC_CM01],[hsc_cm01],[1])
34RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_HSC_CM01],
35[if defined, then use settings for the HSC_CM01 board])
36
37RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8309SOM],[mpc8309som],[1])
38RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8309SOM],
39[if defined, then use settings for the MPC8309SOM board])
40
41RTEMS_BSPOPTS_SET([MPC83XX_BOARD_BR_UID],[br_uid],[1])
42RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_BR_UID],
43[if defined, then use settings for the BR UID board])
44
45RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[mpc8309som],[8309])
46RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[br_uid],[8309])
47RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[mpc8349eamds],[8349])
48RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[hsc_cm01],[8349])
49RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[*],[8313])
50RTEMS_BSPOPTS_HELP([MPC83XX_CHIP_TYPE],[chip type of the MPC83XX family])
51
52RTEMS_BSPOPTS_SET([MPC83XX_HAS_NAND_LP_FLASH_ON_CS0],[br_uid],[1])
53RTEMS_BSPOPTS_SET([MPC83XX_HAS_NAND_LP_FLASH_ON_CS0],[*],[])
54RTEMS_BSPOPTS_HELP([MPC83XX_HAS_NAND_LP_FLASH_ON_CS0],[indicates if the board has a NAND large page flash on chip select 0])
55
56RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[mpc8349eamds],[9600])
57RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[hsc_cm01],[9600])
58RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[115200])
59RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[default baud for console and other serial devices])
60
61RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[mpc8349eamds],[])
62RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[hsc_cm01],[])
63RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[*],[1])
64RTEMS_BSPOPTS_HELP([BSP_USE_UART_INTERRUPTS],[enable usage of interrupts for the UART modules])
65
66RTEMS_BSPOPTS_SET([BSP_USE_UART2],[*],[1])
67RTEMS_BSPOPTS_HELP([BSP_USE_UART2],[if defined, enables UART2])
68
69RTEMS_BSPOPTS_SET([HAS_UBOOT],[mpc8309som],[1])
70RTEMS_BSPOPTS_SET([HAS_UBOOT],[mpc8313erdb],[1])
71RTEMS_BSPOPTS_HELP([HAS_UBOOT],[if defined, enables U-Boot support])
72
73# Disable interrupt nesting for the MPC8313ERDB since the interrupt server
74# support requires that.  The interrupt server is necessary for the USB stack.
75RTEMS_BSPOPTS_SET([GEN83XX_ENABLE_INTERRUPT_NESTING],[mpc8313erdb],[])
76RTEMS_BSPOPTS_SET([GEN83XX_ENABLE_INTERRUPT_NESTING],[*],[1])
77RTEMS_BSPOPTS_HELP([GEN83XX_ENABLE_INTERRUPT_NESTING],[enable interrupt nesting])
78
79RTEMS_CHECK_NETWORKING
80AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
81
82# Explicitly list all Makefiles here
83AC_CONFIG_FILES([Makefile])
84
85RTEMS_BSP_BOOTCARD_OPTIONS
86RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
87RTEMS_BSP_LINKCMDS
88
89RTEMS_PPC_EXCEPTIONS
90
91AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.