[f610e83f] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
[309dbd0] | 2 | ## |
---|
[f610e83f] | 3 | ## $Id$ |
---|
| 4 | |
---|
| 5 | AC_PREREQ(2.60) |
---|
[7d7d2e93] | 6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen83xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
[f610e83f] | 7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
| 8 | RTEMS_TOP(../../../../../..) |
---|
| 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
| 11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10]) |
---|
| 12 | RTEMS_BSP_CONFIGURE |
---|
| 13 | |
---|
[218a2bb] | 14 | RTEMS_PROG_CC_FOR_TARGET |
---|
[f610e83f] | 15 | RTEMS_CANONICALIZE_TOOLS |
---|
| 16 | RTEMS_PROG_CCAS |
---|
| 17 | |
---|
| 18 | RTEMS_BSPOPTS_SET([DATA_CACHE_ENABLE],[*],[1]) |
---|
| 19 | RTEMS_BSPOPTS_HELP([DATA_CACHE_ENABLE], |
---|
| 20 | [If defined, the data cache will be enabled after address translation |
---|
| 21 | is turned on.]) |
---|
| 22 | |
---|
| 23 | RTEMS_BSPOPTS_SET([INSTRUCTION_CACHE_ENABLE],[*],[1]) |
---|
| 24 | RTEMS_BSPOPTS_HELP([INSTRUCTION_CACHE_ENABLE], |
---|
| 25 | [If defined, the instruction cache will be enabled after address translation |
---|
| 26 | is turned on.]) |
---|
| 27 | |
---|
[3760a5d] | 28 | RTEMS_BSPOPTS_SET([MPC8313ERDB],[mpc8313erdb],[1]) |
---|
| 29 | RTEMS_BSPOPTS_HELP([MPC8313ERDB], |
---|
| 30 | [If defined, use custom settings for the mpc8313erdb BSP.]) |
---|
| 31 | |
---|
| 32 | RTEMS_BSPOPTS_SET([MPC8349EAMDS],[mpc8349eamds],[1]) |
---|
| 33 | RTEMS_BSPOPTS_HELP([MPC8349EAMDS], |
---|
| 34 | [If defined, use custom settings for the mpc8349eamds BSP.]) |
---|
| 35 | |
---|
| 36 | RTEMS_BSPOPTS_SET([HSC_CM01],[hsc_cm01],[1]) |
---|
| 37 | RTEMS_BSPOPTS_HELP([HSC_CM01], |
---|
| 38 | [If defined, use custom settings for the hsc_cm01 BSP.]) |
---|
| 39 | |
---|
| 40 | RTEMS_BSPOPTS_SET([MPC8349],[mpc8313erdb],[1]) |
---|
| 41 | RTEMS_BSPOPTS_SET([MPC8349],[mpc8349eamds],[1]) |
---|
| 42 | RTEMS_BSPOPTS_SET([MPC8349],[hsc_cm01],[1]) |
---|
| 43 | RTEMS_BSPOPTS_HELP([MPC8349], |
---|
| 44 | [If defined, use custom settings for the MPC8349 libcpu family.]) |
---|
| 45 | |
---|
[8a54204] | 46 | RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[mpc8313erdb],[115200]) |
---|
| 47 | RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[9600]) |
---|
| 48 | RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[Default baud for console and other serial devices.]) |
---|
| 49 | |
---|
| 50 | RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[mpc8313erdb],[1]) |
---|
| 51 | RTEMS_BSPOPTS_HELP([BSP_USE_UART_INTERRUPTS],[enable usage of interrupts for the UART modules]) |
---|
| 52 | |
---|
| 53 | RTEMS_BSPOPTS_SET([BSP_USE_UART2],[mpc8313erdb],[1]) |
---|
| 54 | RTEMS_BSPOPTS_SET([BSP_USE_UART2],[mpc8349eamds],[1]) |
---|
| 55 | RTEMS_BSPOPTS_SET([BSP_USE_UART2],[hsc_cm01],[1]) |
---|
| 56 | RTEMS_BSPOPTS_HELP([BSP_USE_UART2],[If defined, enables UART2.]) |
---|
| 57 | |
---|
| 58 | RTEMS_BSPOPTS_SET([HAS_UBOOT],[mpc8313erdb],[1]) |
---|
| 59 | RTEMS_BSPOPTS_HELP([HAS_UBOOT],[If defined, enables U-Boot support.]) |
---|
| 60 | |
---|
| 61 | RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1]) |
---|
| 62 | RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE], [If defined, then the PowerPC specific |
---|
| 63 | code in RTEMS will use data cache instructions to optimize the context switch code.]) |
---|
[3760a5d] | 64 | |
---|
[f610e83f] | 65 | RTEMS_CHECK_NETWORKING |
---|
| 66 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
| 67 | |
---|
[309dbd0] | 68 | # Explicitly list all Makefiles here |
---|
[f610e83f] | 69 | AC_CONFIG_FILES([Makefile]) |
---|
| 70 | |
---|
[d1be26b] | 71 | RTEMS_BSP_CLEANUP_OPTIONS(0, 0) |
---|
[d4886a06] | 72 | |
---|
[f610e83f] | 73 | RTEMS_PPC_EXCEPTIONS |
---|
| 74 | |
---|
| 75 | AC_OUTPUT |
---|