forked from Imagelibrary/rtems
<corsepiu@faw.uni-ulm.de> which implements automake support for some score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration bugs. To apply: rm -rf c/src/exec/score/cpu/i960/wrap rm -rf c/src/exec/score/cpu/m68k/wrap rm -rf c/src/exec/score/cpu/sh/wrap rm -rf c/src/exec/score/cpu/sparc/wrap rm -rf c/src/exec/score/cpu/unix/wrap patch -p1 < rtems-rc-19991123-rc-1.diff ./bootstrap Known bugs: * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does not handle recursion to subdirectories correctly (recurses too often). However, this issue is hardly visible and should be tolerable for the moment.
63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
dnl
|
|
dnl $Id$
|
|
|
|
AC_PREREQ(2.13)
|
|
AC_INIT(no_cpu)
|
|
RTEMS_TOP(../../../../..)
|
|
AC_CONFIG_AUX_DIR(../../../../..)
|
|
|
|
AC_PROG_MAKE_SET
|
|
RTEMS_CANONICAL_TARGET_CPU
|
|
|
|
AM_MAINTAINER_MODE
|
|
RTEMS_ENABLE_MULTIPROCESSING
|
|
RTEMS_ENABLE_POSIX
|
|
RTEMS_ENABLE_ITRON
|
|
RTEMS_ENABLE_INLINES
|
|
RTEMS_ENABLE_LIBCDIR
|
|
|
|
RTEMS_ENV_RTEMSBSP
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
RTEMS_CHECK_CPU
|
|
RTEMS_CANONICAL_HOST
|
|
|
|
RTEMS_PROJECT_ROOT
|
|
|
|
dnl check target cc
|
|
RTEMS_PROG_CC_FOR_TARGET
|
|
RTEMS_CANONICALIZE_TOOLS
|
|
|
|
RTEMS_CHECK_NEWLIB
|
|
|
|
# Check if there is custom/*.cfg for this BSP
|
|
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
|
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
|
|
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
|
|
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
|
|
|
|
# The only use of System V IPC is the UNIX port when multiprocessing.
|
|
if test "$HAS_MP" = "yes"; then
|
|
RTEMS_CHECK_SYSV_UNIX
|
|
fi
|
|
|
|
# find all the Executive Makefiles
|
|
if test -f $srcdir/$RTEMS_CPU/configure; then
|
|
cfg_subdirs="$RTEMS_CPU"
|
|
else
|
|
RTEMS_CHECK_MAKEFILE($RTEMS_CPU)
|
|
fi
|
|
|
|
AC_CONFIG_SUBDIRS($cfg_subdirs)
|
|
|
|
AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
|
|
AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
|
|
|
|
# Try to explicitly list a Makefile here
|
|
AC_OUTPUT(
|
|
Makefile
|
|
$makefiles
|
|
)
|