source: rtems/c/src/lib/libbsp/sh/shsim/configure.ac @ aa567bc1

5
Last change on this file since aa567bc1 was aa567bc1, checked in by Chris Johns <chrisj@…>, on 04/10/18 at 06:06:39

configure: Add subdir-objects to all automake flags.

This option silences warning with automake-1.16.1 allowing us to
upgrade to that version.

This change has been tested with automake-1.12.6 and automake-1.16.1.
It seems version 1.16.1 configures slower than 1.12.6 for the same
source and BSP. The newer versions is 6 second slower.

Close #3387.

  • Property mode set to 100644
File size: 1.1 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-sh-shsim],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
5AC_CONFIG_SRCDIR([make/custom/simsh1.cfg])
6RTEMS_TOP(../../../../../..)
7RTEMS_SOURCE_TOP
8RTEMS_BUILD_TOP
9RTEMS_BSP_LINKCMDS
10
11RTEMS_CANONICAL_TARGET_CPU
12AM_INIT_AUTOMAKE([no-define nostdinc foreign subdir-objects 1.12.2])
13RTEMS_BSP_CONFIGURE
14
15
16##
17RTEMS_BSP_ARG_ENABLE([iomem-patch],
18[  --enable-iomem-patch=[[yes|no]]])
19if test x"$enable_iomem_patch" = x"yes"; then
20AC_DEFINE_UNQUOTED(
21  [HAVE_SHSIM_IOMEM_PATCH],
22  [1],
23  [whether support for functional IOMEM in shsim/gdb shall be enabled])
24fi
25
26RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[20000000])
27RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],
28[cpu clock rate in HZ])
29
30RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
31RTEMS_BSPOPTS_HELP([START_HW_INIT],
32[If defined, selects whether 'early_hw_init()' is called from 'start.S';
33 'bsp_hw_init()' is always called from 'bspstart.c'])
34
35## Used in scitab/Makefile.am
36AC_SUBST(CPU_CLOCK_RATE_HZ)
37
38RTEMS_BSP_CLEANUP_OPTIONS
39
40# Explicitly list all Makefiles here
41AC_CONFIG_FILES([Makefile])
42AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.