1 | ## 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-motorola_powerpc],[_RTEMS_VERSION],[https://devel.rtems.org/newticket]) |
---|
5 | AC_CONFIG_SRCDIR([make/custom/mcp750.cfg]) |
---|
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_CHECK_TOOL(NM,nm,no) |
---|
15 | RTEMS_PROG_CCAS |
---|
16 | |
---|
17 | RTEMS_CHECK_NETWORKING |
---|
18 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
19 | |
---|
20 | AS=$CC |
---|
21 | AM_PROG_AS |
---|
22 | |
---|
23 | RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1]) |
---|
24 | RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED |
---|
25 | |
---|
26 | RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1]) |
---|
27 | RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED |
---|
28 | |
---|
29 | RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1]) |
---|
30 | RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], |
---|
31 | [If defined then the BSP may reduce the available memory size |
---|
32 | initially. This can be useful for debugging (reduce the core |
---|
33 | size) or dynamic loading (std gcc text offsets/jumps are < +/-32M). |
---|
34 | Note that the policy can still be defined by the application |
---|
35 | (see sbrk.c, BSP_sbrk_policy). By undefining |
---|
36 | CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed |
---|
37 | and a little memory is saved.]) |
---|
38 | |
---|
39 | RTEMS_BSPOPTS_SET([mvme2100],[mvme2100],[1]) |
---|
40 | RTEMS_BSPOPTS_SET([mvme2100],[*],[]) |
---|
41 | RTEMS_BSPOPTS_HELP([mvme2100], |
---|
42 | [Defined for MVME2100 -- undefined for others]) |
---|
43 | |
---|
44 | RTEMS_BSPOPTS_SET([mpc8240],[mvme2100],[1]) |
---|
45 | RTEMS_BSPOPTS_SET([mpc8240],[*],[]) |
---|
46 | RTEMS_BSPOPTS_HELP([mpc8240], |
---|
47 | [Defined for boards with MPC8240 -- undefined for others]) |
---|
48 | |
---|
49 | RTEMS_BSPOPTS_SET([qemu],[qemuprep*],[1]) |
---|
50 | RTEMS_BSPOPTS_SET([qemu],[*],[]) |
---|
51 | RTEMS_BSPOPTS_HELP([qemu],[Defined for QEMU BSP -- undefined for others]) |
---|
52 | |
---|
53 | RTEMS_BSP_CLEANUP_OPTIONS |
---|
54 | |
---|
55 | # Explicitly list all Makefiles here |
---|
56 | AC_CONFIG_FILES([Makefile]) |
---|
57 | case "${RTEMS_BSP}" in |
---|
58 | qemuprep* ) |
---|
59 | AC_CONFIG_FILES([qemu_fakerom/Makefile]) |
---|
60 | ;; |
---|
61 | esac |
---|
62 | AC_CONFIG_FILES([bootloader/Makefile]) |
---|
63 | |
---|
64 | RTEMS_PPC_EXCEPTIONS |
---|
65 | |
---|
66 | AM_CONDITIONAL([QEMU],[case xx"${RTEMS_BSP}" in xxqemuprep*) true;; *) false;; esac]) |
---|
67 | |
---|
68 | AC_OUTPUT |
---|