forked from Imagelibrary/rtems
<corsepiu@faw.uni-ulm.de> which does the following: This is the configuration cleanup patch: Main changes: * TARGET_ARCH removed * target.cfg.in moved to c/make/target.cfg.in (Only configured once for all BSPs of a target) * BARE_XXX variables appended to bsp.cfg.in * autogen renamed to bootstrap * removed stray variables from make/custom/*.cfg To apply: cd <source-tree> rm c/src/make/target.cfg.in cp autogen bootstrap mkdir c/make cp make/target.cfg.in c/make/target.cfg.in rm make/target.cfg.in rm autogen patch -p1 < rtems-rc-19991105-1.diff
60 lines
1.1 KiB
Plaintext
60 lines
1.1 KiB
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
dnl
|
|
dnl $Id$
|
|
|
|
dnl
|
|
dnl This script configures the configuration files below c/make/
|
|
dnl
|
|
|
|
AC_PREREQ(2.13)
|
|
AC_INIT(target.cfg.in)
|
|
RTEMS_TOP(../..)
|
|
AC_CONFIG_AUX_DIR(../..)
|
|
|
|
RTEMS_CANONICAL_TARGET_CPU
|
|
|
|
AM_INIT_AUTOMAKE(rtems-c-make,$RTEMS_VERSION,no)
|
|
AM_MAINTAINER_MODE
|
|
|
|
RTEMS_ENABLE_MULTIPROCESSING
|
|
RTEMS_ENABLE_POSIX
|
|
RTEMS_ENABLE_NETWORKING
|
|
RTEMS_ENABLE_RDBG
|
|
RTEMS_ENABLE_INLINES
|
|
RTEMS_ENABLE_CXX
|
|
RTEMS_ENABLE_GCC28
|
|
RTEMS_ENABLE_LIBCDIR
|
|
|
|
RTEMS_CHECK_CPU
|
|
RTEMS_CANONICAL_HOST
|
|
|
|
RTEMS_PROJECT_ROOT
|
|
|
|
dnl check target cc
|
|
RTEMS_PROG_CC_FOR_TARGET
|
|
|
|
dnl check for g++
|
|
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
|
RTEMS_PROG_CXX_FOR_TARGET
|
|
fi
|
|
|
|
RTEMS_CANONICALIZE_TOOLS
|
|
|
|
AC_SUBST(rtems_cv_prog_cc_cross)
|
|
AC_SUBST(RTEMS_HAS_POSIX)
|
|
AC_SUBST(RTEMS_HOST)
|
|
AC_SUBST(RTEMS_HAS_MULTIPROCESSING)
|
|
AC_SUBST(RTEMS_HAS_POSIX_API)
|
|
AC_SUBST(RTEMS_HAS_NETWORKING)
|
|
AC_SUBST(RTEMS_HAS_RDBG)
|
|
AC_SUBST(RTEMS_HAS_CPLUSPLUS)
|
|
AC_SUBST(RTEMS_USE_MACROS)
|
|
AC_SUBST(RTEMS_USE_GCC272)
|
|
AC_SUBST(RTEMS_LIBC_DIR)
|
|
AC_SUBST(RTEMS_CPU)
|
|
|
|
AC_OUTPUT(
|
|
Makefile
|
|
target.cfg
|
|
)
|