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

4.115
Last change on this file since 7a752161 was 7a752161, checked in by Sebastian Huber <sebastian.huber@…>, on 09/26/11 at 10:08:29

2011-09-27 Sebastian Huber <sebastian.huber@…>

  • make/custom/mpc8309som.cfg, startup/linkcmds.mpc8309som: New file.
  • Makefile.am, preinstall.am: Reflect changes above.
  • configure.ac, console/console-config.c, include/bsp.h, include/hwreg_vals.h, include/irq.h, network/network.c, spi/spi_init.c, startup/cpuinit.c: Renamed various BSP options.
  • make/custom/gen83xx.inc, make/custom/hsc_cm01.cfg, make/custom/mpc8313erdb.cfg, make/custom/mpc8349eamds.cfg: Avoid special linkcmds.
  • Property mode set to 100644
File size: 2.7 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ([2.68])
6AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen83xx],[_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.11.1])
12RTEMS_BSP_CONFIGURE
13
14RTEMS_PROG_CC_FOR_TARGET
15RTEMS_CANONICALIZE_TOOLS
16RTEMS_PROG_CCAS
17
18RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
19RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
20
21RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
22RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
23
24RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8313ERDB],[mpc8313erdb],[1])
25RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8313ERDB],
26[if defined, then use settings for the MPC8313ERDB board])
27
28RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8349EAMDS],[mpc8349eamds],[1])
29RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8349EAMDS],
30[if defined, then use settings for the MPC8349EAMDS board])
31
32RTEMS_BSPOPTS_SET([MPC83XX_BOARD_HSC_CM01],[hsc_cm01],[1])
33RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_HSC_CM01],
34[if defined, then use settings for the HSC_CM01 board])
35
36RTEMS_BSPOPTS_SET([MPC83XX_BOARD_MPC8309SOM],[mpc8309som],[1])
37RTEMS_BSPOPTS_HELP([MPC83XX_BOARD_MPC8309SOM],
38[if defined, then use settings for the MPC8309SOM board])
39
40RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[mpc8309som],[8309])
41RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[mpc8349eamds],[8349])
42RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[hsc_cm01],[8349])
43RTEMS_BSPOPTS_SET([MPC83XX_CHIP_TYPE],[*],[8313])
44RTEMS_BSPOPTS_HELP([MPC83XX_CHIP_TYPE],[chip type of the MPC83XX family])
45
46RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[mpc8349eamds],[9600])
47RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[hsc_cm01],[9600])
48RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[115200])
49RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[default baud for console and other serial devices])
50
51RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[mpc8349eamds],[])
52RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[hsc_cm01],[])
53RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[*],[1])
54RTEMS_BSPOPTS_HELP([BSP_USE_UART_INTERRUPTS],[enable usage of interrupts for the UART modules])
55
56RTEMS_BSPOPTS_SET([BSP_USE_UART2],[*],[1])
57RTEMS_BSPOPTS_HELP([BSP_USE_UART2],[if defined, enables UART2])
58
59RTEMS_BSPOPTS_SET([HAS_UBOOT],[mpc8309som],[1])
60RTEMS_BSPOPTS_SET([HAS_UBOOT],[mpc8313erdb],[1])
61RTEMS_BSPOPTS_HELP([HAS_UBOOT],[if defined, enables U-Boot support])
62
63RTEMS_BSPOPTS_SET([GEN83XX_ENABLE_INTERRUPT_NESTING],[*],[1])
64RTEMS_BSPOPTS_HELP([GEN83XX_ENABLE_INTERRUPT_NESTING],[enable interrupt nesting])
65
66RTEMS_CHECK_NETWORKING
67AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
68
69# Explicitly list all Makefiles here
70AC_CONFIG_FILES([Makefile])
71
72RTEMS_BSP_BOOTCARD_OPTIONS
73RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
74RTEMS_BSP_LINKCMDS
75
76RTEMS_PPC_EXCEPTIONS
77
78AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.