diff options
Diffstat (limited to 'aclocal')
-rw-r--r-- | aclocal/bsp-alias.m4 | 20 | ||||
-rw-r--r-- | aclocal/canonical-target-name.m4 | 24 | ||||
-rw-r--r-- | aclocal/check-bsps.m4 | 25 | ||||
-rw-r--r-- | aclocal/check-custom-bsp.m4 | 20 | ||||
-rw-r--r-- | aclocal/check-tool.m4 | 9 | ||||
-rw-r--r-- | aclocal/enable-cxx.m4 | 11 | ||||
-rw-r--r-- | aclocal/enable-drvmgr.m4 | 12 | ||||
-rw-r--r-- | aclocal/enable-multiprocessing.m4 | 14 | ||||
-rw-r--r-- | aclocal/enable-networking.m4 | 13 | ||||
-rw-r--r-- | aclocal/enable-paravirt.m4 | 13 | ||||
-rw-r--r-- | aclocal/enable-posix.m4 | 21 | ||||
-rw-r--r-- | aclocal/enable-rtems-debug.m4 | 10 | ||||
-rw-r--r-- | aclocal/enable-rtemsbsp.m4 | 54 | ||||
-rw-r--r-- | aclocal/enable-smp.m4 | 18 | ||||
-rw-r--r-- | aclocal/enable-tests.m4 | 11 | ||||
-rw-r--r-- | aclocal/multilib.m4 | 17 | ||||
-rw-r--r-- | aclocal/path-ksh.m4 | 12 | ||||
-rw-r--r-- | aclocal/project-root.m4 | 17 | ||||
-rw-r--r-- | aclocal/quoting.m4 | 41 | ||||
-rw-r--r-- | aclocal/rpm.m4 | 20 | ||||
-rw-r--r-- | aclocal/rtems-bsp-includes.m4 | 13 | ||||
-rw-r--r-- | aclocal/rtems-build-top.m4 | 12 | ||||
-rw-r--r-- | aclocal/rtems-includes.m4 | 23 | ||||
-rw-r--r-- | aclocal/rtems-source-top.m4 | 8 | ||||
-rw-r--r-- | aclocal/rtems-top.m4 | 34 | ||||
-rw-r--r-- | aclocal/tool-paths.m4 | 23 | ||||
-rw-r--r-- | aclocal/version.m4 | 4 |
27 files changed, 0 insertions, 499 deletions
diff --git a/aclocal/bsp-alias.m4 b/aclocal/bsp-alias.m4 deleted file mode 100644 index 77d8205aba..0000000000 --- a/aclocal/bsp-alias.m4 +++ /dev/null @@ -1,20 +0,0 @@ -dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) -dnl Internal subroutine to RTEMS_BSP_ALIAS -AC_DEFUN([_RTEMS_BSP_ALIAS],[ -AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU]) -AC_REQUIRE([RTEMS_SOURCE_TOP]) -# account for "aliased" bsps which share source code - for bsp_cfgs in `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/"config/$1.cfg" 2>/dev/null`; do - $2=`echo "$bsp_cfgs" | sed \ - -e "s,^${RTEMS_SOURCE_ROOT}/bsps/$RTEMS_CPU/,," \ - -e "s,/config/.*\.cfg$,,"` - break - done -]) - -dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) -dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY -AC_DEFUN([RTEMS_BSP_ALIAS], -[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]), - m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))] -) diff --git a/aclocal/canonical-target-name.m4 b/aclocal/canonical-target-name.m4 deleted file mode 100644 index bcebf3a192..0000000000 --- a/aclocal/canonical-target-name.m4 +++ /dev/null @@ -1,24 +0,0 @@ -dnl canonicalize target cpu -dnl NOTE: Most rtems targets do not fulfil autoconf's -dnl target naming conventions "processor-vendor-os" -dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them -dnl and we have to fix it for rtems ourselves - -AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU], -[ -AC_CANONICAL_TARGET -AC_MSG_CHECKING(rtems target cpu) -case "${target}" in - no_cpu-*rtems*) - RTEMS_CPU=no_cpu - ;; - riscv*-*rtems*) - RTEMS_CPU=riscv - ;; - *) - RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'` - ;; -esac -AC_SUBST(RTEMS_CPU) -AC_MSG_RESULT($RTEMS_CPU) -]) diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4 deleted file mode 100644 index 610ae40f16..0000000000 --- a/aclocal/check-bsps.m4 +++ /dev/null @@ -1,25 +0,0 @@ -dnl Report all available bsps for a target within the source tree -dnl -dnl RTEMS_CHECK_BSPS(bsp_list) -AC_DEFUN([RTEMS_CHECK_BSPS], -[ -AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target -AC_REQUIRE([RTEMS_SOURCE_TOP])dnl sets RTEMS_SOURCE_ROOT - -AC_MSG_CHECKING([for available BSPs]) - $1= - for bsp_make in `echo "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/config 2>/dev/null`; do - bsp_family=`echo "$bsp_make" | sed \ - -e "s,^${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}/,," \ - -e "s,/config$,,"` - for bsp_cfgs in `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}/$bsp_family/config/"*.cfg 2>/dev/null`; do - bsp_cfg=`echo "$bsp_cfgs" | sed \ - -e "s,^${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}/$bsp_family/config/,," \ - -e "s,\.cfg$,,"` - $1="[$]$1 $bsp_cfg" - done - done - AS_IF([test -z "[$]$1"], - [AC_MSG_RESULT([none])], - [AC_MSG_RESULT([$]$1)]) -])dnl diff --git a/aclocal/check-custom-bsp.m4 b/aclocal/check-custom-bsp.m4 deleted file mode 100644 index 11c2f1f7d2..0000000000 --- a/aclocal/check-custom-bsp.m4 +++ /dev/null @@ -1,20 +0,0 @@ -AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[ -AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target -AC_REQUIRE([RTEMS_SOURCE_TOP])dnl sets RTEMS_SOURCE_ROOT - $2= - for i in \ - `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/config/$1 2>/dev/null`; - do - AS_IF([test -r $i],[ - $2="$i" - break; - ]) - done -]) - -AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[ - _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND]) - AS_IF([test -z "$BSP_FOUND"],[ - AC_MSG_ERROR([missing [$]$1.cfg]) - ]) -]) diff --git a/aclocal/check-tool.m4 b/aclocal/check-tool.m4 deleted file mode 100644 index 210b1c06d2..0000000000 --- a/aclocal/check-tool.m4 +++ /dev/null @@ -1,9 +0,0 @@ -## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to -## the un-prefixed version of PROG-TO-CHECK-FOR. -dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]]) -AC_DEFUN([RTEMS_CHECK_TOOL], -[ - AS_IF([test "x$target_alias" != "x$host_alias"], - [rtems_tool_prefix=$target_alias-]) - AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4) -]) diff --git a/aclocal/enable-cxx.m4 b/aclocal/enable-cxx.m4 deleted file mode 100644 index 952f0151a8..0000000000 --- a/aclocal/enable-cxx.m4 +++ /dev/null @@ -1,11 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_CXX], -[ -AC_ARG_ENABLE(cxx, -[AS_HELP_STRING([--enable-cxx], -[enable C++ support])], -[case "${enable_cxx}" in - yes) RTEMS_HAS_CPLUSPLUS=yes ;; - no) RTEMS_HAS_CPLUSPLUS=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;; -esac], [RTEMS_HAS_CPLUSPLUS=yes]) -]) diff --git a/aclocal/enable-drvmgr.m4 b/aclocal/enable-drvmgr.m4 deleted file mode 100644 index 489f60e75f..0000000000 --- a/aclocal/enable-drvmgr.m4 +++ /dev/null @@ -1,12 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_DRVMGR], -[ -## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl - -AC_ARG_ENABLE(drvmgr, -[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])], -[case "${enableval}" in - yes) RTEMS_DRVMGR_STARTUP=yes ;; - no) RTEMS_DRVMGR_STARTUP=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;; -esac],[RTEMS_DRVMGR_STARTUP=yes]) -]) diff --git a/aclocal/enable-multiprocessing.m4 b/aclocal/enable-multiprocessing.m4 deleted file mode 100644 index 6f8843d1f6..0000000000 --- a/aclocal/enable-multiprocessing.m4 +++ /dev/null @@ -1,14 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING], -[ -AC_ARG_ENABLE(multiprocessing, -[AS_HELP_STRING([--enable-multiprocessing], -[enable multiprocessing interface; the multiprocessing interface is a -communication interface between different RTEMS instances and allows -synchronization of objects via message passing])], -[case "${enable_multiprocessing}" in - yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([Multiprocessing requires BSPs to be provided, none have, see --enable-rtemsbsp]) - ;; - no) ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;; -esac],[enable_multiprocessing=no]) -]) diff --git a/aclocal/enable-networking.m4 b/aclocal/enable-networking.m4 deleted file mode 100644 index 7cede53fce..0000000000 --- a/aclocal/enable-networking.m4 +++ /dev/null @@ -1,13 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_NETWORKING], -[ -## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl - -AC_ARG_ENABLE(networking, -[AS_HELP_STRING([--enable-networking],[enable TCP/IP stack])], -[case "${enableval}" in - yes) RTEMS_HAS_NETWORKING=yes ;; - no) RTEMS_HAS_NETWORKING=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;; -esac],[RTEMS_HAS_NETWORKING=yes]) -AC_SUBST(RTEMS_HAS_NETWORKING)dnl -]) diff --git a/aclocal/enable-paravirt.m4 b/aclocal/enable-paravirt.m4 deleted file mode 100644 index b3ef97edad..0000000000 --- a/aclocal/enable-paravirt.m4 +++ /dev/null @@ -1,13 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_PARAVIRT], -[ - -AC_ARG_ENABLE(paravirt, -[AS_HELP_STRING([--enable-paravirt],[enable support for paravirtualization -(default=no)])], - -[case "${enableval}" in - yes) RTEMS_HAS_PARAVIRT=yes ;; - no) RTEMS_HAS_PARAVIRT=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-paravirt option) ;; -esac],[RTEMS_HAS_PARAVIRT=no]) -]) diff --git a/aclocal/enable-posix.m4 b/aclocal/enable-posix.m4 deleted file mode 100644 index 272704c43e..0000000000 --- a/aclocal/enable-posix.m4 +++ /dev/null @@ -1,21 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_POSIX], -[ -## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl - -AC_ARG_ENABLE(posix, -[AS_HELP_STRING([--enable-posix],[enable posix interface])], -[case "${enableval}" in - yes) RTEMS_HAS_POSIX_API=yes ;; - no) RTEMS_HAS_POSIX_API=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;; -esac],[RTEMS_HAS_POSIX_API=yes]) - -case "${host}" in - no_cpu-*rtems*) - RTEMS_HAS_POSIX_API=no - ;; - *) - ;; -esac -AC_SUBST(RTEMS_HAS_POSIX_API) -]) diff --git a/aclocal/enable-rtems-debug.m4 b/aclocal/enable-rtems-debug.m4 deleted file mode 100644 index 18bb67f284..0000000000 --- a/aclocal/enable-rtems-debug.m4 +++ /dev/null @@ -1,10 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG], -[ -AC_ARG_ENABLE(rtems-debug, -AS_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]), -[case "${enable_rtems_debug}" in - yes) enable_rtems_debug=yes ;; - no) enable_rtems_debug=no ;; - *) AC_MSG_ERROR([bad value ${enable_rtems_debug} for RTEMS_DEBUG]) ;; -esac],[enable_rtems_debug=no]) -]) diff --git a/aclocal/enable-rtemsbsp.m4 b/aclocal/enable-rtemsbsp.m4 deleted file mode 100644 index f0b391bbb8..0000000000 --- a/aclocal/enable-rtemsbsp.m4 +++ /dev/null @@ -1,54 +0,0 @@ -dnl Override the set of BSPs to be built. -dnl used by the toplevel configure script -dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list) -AC_DEFUN([RTEMS_ENABLE_RTEMSBSP], -[ -AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP]) -AC_ARG_ENABLE(rtemsbsp, -[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."], -[BSPs to include in build, required for SMP and MP builds])], -[case "${enable_rtemsbsp}" in - yes ) enable_rtemsbsp="" ;; - no ) enable_rtemsbsp="no" ;; - *) enable_rtemsbsp="$enable_rtemsbsp" - srctop=${srcdir} - while test x${srctop} != x/ - do - if test -d ${srctop}/cpukit -a -d ${srctop}/c/src/lib/libbsp; then - break - fi - srctop=$(dirname ${srctop}) - done - if test x${srctop} = x/; then - AC_MSG_ERROR([Cannot find the top of source tree, please report to devel@rtems.org]) - fi - target_arch=$(echo ${target_alias} | sed -e "s/\-.*//g") - libbsp=${srctop}/bsps - libbsp_e=$(echo ${libbsp} | sed -e 's/\//\\\//g') - cfg_list=$(LANG=C LC_COLLATE=C find ${libbsp} -mindepth 1 -name \*.cfg) - for bsp in ${enable_rtemsbsp}; - do - found=no - for bsp_path in ${cfg_list}; - do - cfg_bsp=$(echo ${bsp_path} | sed -e "s/.*\///" -e 's/\.cfg//') - if test x$bsp = x$cfg_bsp; then - cfg_arch=$(echo ${bsp_path} | sed -e "s/${libbsp_e}*\///" -e 's/\/.*//') - case ${target_arch} in - ${cfg_arch}* ) - ;; - * ) - AC_MSG_ERROR([BSP '$bsp' architecture does not match the --target architecture, run 'rtems-bsps' (in the top of the source tree) for a valid BSP list]) - ;; - esac - found=yes - break - fi - done - if test $found = no; then - AC_MSG_ERROR([BSP '$bsp' not found, run 'rtems-bsps' (in the top of the source tree) for a valid BSP list]) - fi - done - ;; -esac],[enable_rtemsbsp=""]) -]) diff --git a/aclocal/enable-smp.m4 b/aclocal/enable-smp.m4 deleted file mode 100644 index b8767923c7..0000000000 --- a/aclocal/enable-smp.m4 +++ /dev/null @@ -1,18 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_SMP], -[ -## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl - -AC_ARG_ENABLE(smp, -[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing -(SMP)])], -[case "${enableval}" in - yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([SMP requires BSPs to be provided, none have, see --enable-rtemsbsp]) - case "${RTEMS_CPU}" in - arm|powerpc|riscv*|sparc|i386) RTEMS_HAS_SMP=yes ;; - *) RTEMS_HAS_SMP=no ;; - esac - ;; - no) RTEMS_HAS_SMP=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;; -esac],[RTEMS_HAS_SMP=no]) -]) diff --git a/aclocal/enable-tests.m4 b/aclocal/enable-tests.m4 deleted file mode 100644 index 9fb7fa02c9..0000000000 --- a/aclocal/enable-tests.m4 +++ /dev/null @@ -1,11 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_TESTS], -[ -AC_ARG_ENABLE(tests, -[AS_HELP_STRING([--enable-tests],[enable tests (default:samples)])], - [case "${enableval}" in - samples) enable_tests=samples;; - yes) enable_tests=yes ;; - no) enable_tests=no ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;; - esac], [enable_tests=samples]) -]) diff --git a/aclocal/multilib.m4 b/aclocal/multilib.m4 deleted file mode 100644 index 0bbef95f6f..0000000000 --- a/aclocal/multilib.m4 +++ /dev/null @@ -1,17 +0,0 @@ -dnl This provides configure definitions used for multilib support - -dnl parts of these macros are derived from newlib-1.8.2's multilib support - -AC_DEFUN([RTEMS_ENABLE_MULTILIB], -[ -AC_ARG_ENABLE(multilib, -AS_HELP_STRING([--enable-multilib], -[build many library versions (default=no)]), -[case "${enableval}" in - yes) multilib=yes ;; - no) multilib=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;; - esac], [multilib=no])dnl - -AM_CONDITIONAL(MULTILIB,test x"${multilib}" = x"yes") -]) diff --git a/aclocal/path-ksh.m4 b/aclocal/path-ksh.m4 deleted file mode 100644 index 2c79b31d1e..0000000000 --- a/aclocal/path-ksh.m4 +++ /dev/null @@ -1,12 +0,0 @@ -AC_DEFUN([RTEMS_PATH_KSH], -[ -dnl NOTE: prefer bash over ksh over sh -AC_PATH_PROGS(KSH,bash ksh sh) -if test -z "$KSH"; then -dnl NOTE: This cannot happen -- /bin/sh must always exist -AC_MSG_ERROR( -[***] -[ Cannot determine a usable shell bash/ksh/sh] -[ Please contact your system administrator] ); -fi -]) diff --git a/aclocal/project-root.m4 b/aclocal/project-root.m4 deleted file mode 100644 index ffe5c6f940..0000000000 --- a/aclocal/project-root.m4 +++ /dev/null @@ -1,17 +0,0 @@ -dnl -dnl PROJECT_TOPdir .. relative path to the top of the build-tree -dnl PROJECT_ROOT .. relative path to the top of the temporary -dnl installation directory inside the build-tree -dnl RTEMS_TOPdir .. relative path of a subpackage's configure.ac to the -dnl toplevel configure.ac of the source-tree -dnl RTEMS_ROOT .. path to the top of a bsp's build directory -dnl [Applied by custom/*.cfg, deprecated otherwise] -dnl - -AC_DEFUN([RTEMS_PROJECT_ROOT], -[dnl -AC_REQUIRE([RTEMS_TOP]) -BIN2C=rtems-bin2c -AC_SUBST(BIN2C) -]) - diff --git a/aclocal/quoting.m4 b/aclocal/quoting.m4 deleted file mode 100644 index 0a95ae3e9b..0000000000 --- a/aclocal/quoting.m4 +++ /dev/null @@ -1,41 +0,0 @@ -dnl RTEMS_CONFIGURE_ARGS_QUOTE(dnl RETURN_VAR, [ADDITIONAL_CASES], [VAR_TO_PROCESS]]) -dnl -AC_DEFUN([_RTEMS_CONFIGURE_ARGS_QUOTE], -[ -$1_prune() -{ - # Remove --cache-file and --srcdir arguments so they do not pile up. - $1= - ac_prev= - for ac_arg - do - if test -n "$ac_prev"; then - ac_prev= - continue - fi - case $ac_arg in - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ - | --c=*) - ;; - --config-cache | -C) - ;; - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - ;; - m4_if([$2],,,[$2]) - *) $1="$$1 '$ac_arg'" ;; - esac - done - export $1 -} -]) - -AC_DEFUN([RTEMS_CONFIGURE_ARGS_QUOTE],[ -m4_expand_once([_RTEMS_CONFIGURE_ARGS_QUOTE([$1],[$2])]) -eval $1_prune m4_if([$3],,[$ac_configure_args],[[$]$3]) -]) diff --git a/aclocal/rpm.m4 b/aclocal/rpm.m4 deleted file mode 100644 index 1f2015b4a5..0000000000 --- a/aclocal/rpm.m4 +++ /dev/null @@ -1,20 +0,0 @@ -AC_DEFUN([RTEMS_ENABLE_RPMPREFIX],[ -AC_ARG_ENABLE([rpmprefix], -[ --enable-rpmprefix=<rpmprefix> prefix rpms], -[case $enable_rpmprefix in -yes ) rpmprefix="rtems-"]_RTEMS_API["-";; -no ) rpmprefix="%{nil}";; -* ) AS_IF([test -z "$enable_rpmprefix"], - [rpmprefix="%{nil}"], - [rpmprefix="$enable_rpmprefix"]);; -esac], -[rpmprefix="rtems-"]_RTEMS_API["-"]) - -AC_ARG_ENABLE([osversions], -[ --enable-osversions whether to use version numbers in os-tripples], -[case $enable_osversions in -yes ) osversion=_RTEMS_API;; -* ) osversion=;; -esac], -[osversion=_RTEMS_API]) -]) diff --git a/aclocal/rtems-bsp-includes.m4 b/aclocal/rtems-bsp-includes.m4 deleted file mode 100644 index 2248211192..0000000000 --- a/aclocal/rtems-bsp-includes.m4 +++ /dev/null @@ -1,13 +0,0 @@ -dnl -dnl RTEMS Include paths. -dnl -AC_DEFUN([RTEMS_BSP_INCLUDES], -[ -AC_REQUIRE([RTEMS_SOURCE_TOP]) -AC_REQUIRE([RTEMS_BUILD_TOP]) -RTEMS_BSP_CPPFLAGS="-I${RTEMS_BUILD_ROOT}/lib/libbsp/\$(RTEMS_CPU)/\$(RTEMS_BSP_FAMILY)/include \ --I${RTEMS_SOURCE_ROOT}/bsps/include \ --I${RTEMS_SOURCE_ROOT}/bsps/\$(RTEMS_CPU)/include \ --I${RTEMS_SOURCE_ROOT}/bsps/\$(RTEMS_CPU)/\$(RTEMS_BSP_FAMILY)/include" -AC_SUBST([RTEMS_BSP_CPPFLAGS]) -]) diff --git a/aclocal/rtems-build-top.m4 b/aclocal/rtems-build-top.m4 deleted file mode 100644 index 77cff7f4d4..0000000000 --- a/aclocal/rtems-build-top.m4 +++ /dev/null @@ -1,12 +0,0 @@ -dnl -dnl RTEMS_BUILD_TOP($1) -dnl -AC_DEFUN([RTEMS_BUILD_TOP], -[dnl -# -# This is a copy of the horrible hack in rtems-top.m4 and it is simpler to -# copy it than attempt to clean this crap up. -# -RTEMS_BUILD_ROOT="${with_rtems_build_top}" -AC_SUBST([RTEMS_BUILD_ROOT]) -])dnl diff --git a/aclocal/rtems-includes.m4 b/aclocal/rtems-includes.m4 deleted file mode 100644 index ca4ebed581..0000000000 --- a/aclocal/rtems-includes.m4 +++ /dev/null @@ -1,23 +0,0 @@ -dnl -dnl RTEMS Include paths. -dnl -AC_DEFUN([RTEMS_INCLUDES], -[ -AC_REQUIRE([RTEMS_SOURCE_TOP]) -AC_REQUIRE([RTEMS_BUILD_TOP]) - -# Was CFLAGS set? -rtems_cv_CFLAGS_set="${CFLAGS+set}" - -RTEMS_INCLUDE_CPUKIT="-I${RTEMS_SOURCE_ROOT}/cpukit/include" -RTEMS_INCLUDE_CPUKIT_ARCH="-I${RTEMS_SOURCE_ROOT}/cpukit/score/cpu/\$(RTEMS_CPU)/include" - -RTEMS_CPUKIT_INCLUDE="${RTEMS_INCLUDE_CPUKIT} ${RTEMS_INCLUDE_CPUKIT_ARCH}" -RTEMS_BUILD_INCLUDE="-I\$(top_builddir) -I${RTEMS_BUILD_ROOT}/include" - -RTEMS_INCLUDE="${RTEMS_BUILD_INCLUDE} ${RTEMS_CPUKIT_INCLUDE}" - -RTEMS_CPPFLAGS="${RTEMS_INCLUDE}" - -AC_SUBST([RTEMS_CPPFLAGS]) -]) diff --git a/aclocal/rtems-source-top.m4 b/aclocal/rtems-source-top.m4 deleted file mode 100644 index d1460ae82d..0000000000 --- a/aclocal/rtems-source-top.m4 +++ /dev/null @@ -1,8 +0,0 @@ -dnl -dnl RTEMS_SOURCE_TOP -dnl -AC_DEFUN([RTEMS_SOURCE_TOP], -[dnl -RTEMS_SOURCE_ROOT="${with_rtems_source_top}" -AC_SUBST([RTEMS_SOURCE_ROOT]) -])dnl diff --git a/aclocal/rtems-top.m4 b/aclocal/rtems-top.m4 deleted file mode 100644 index 3eb4827861..0000000000 --- a/aclocal/rtems-top.m4 +++ /dev/null @@ -1,34 +0,0 @@ -# AC_DISABLE_OPTION_CHECKING is not available before 2.62 -AC_PREREQ(2.62) - -dnl -dnl RTEMS_TOP($1) -dnl -dnl $1 .. relative path from this configure.ac to the toplevel configure.ac -dnl -AC_DEFUN([RTEMS_TOP], -[dnl -AC_REQUIRE([RTEMS_VERSIONING]) -AC_REQUIRE([AC_DISABLE_OPTION_CHECKING]) -AC_CONFIG_AUX_DIR([$1]) -AC_CHECK_PROGS(MAKE, gmake make) -AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl - -AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API]) - -RTEMS_TOPdir="$1"; -AC_SUBST(RTEMS_TOPdir) - -dots=`echo $with_target_subdir|\ -sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` -PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' -AC_SUBST(PROJECT_TOPdir) - -PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" -AC_SUBST(PROJECT_ROOT) - -AC_MSG_CHECKING([for RTEMS Version]) -AC_MSG_RESULT([_RTEMS_VERSION]) -pkgdatadir="${datadir}"/rtems[]_RTEMS_API; -AC_SUBST([pkgdatadir]) -])dnl diff --git a/aclocal/tool-paths.m4 b/aclocal/tool-paths.m4 deleted file mode 100644 index ff6e5f830e..0000000000 --- a/aclocal/tool-paths.m4 +++ /dev/null @@ -1,23 +0,0 @@ -AC_DEFUN([RTEMS_TOOLPATHS], -[ -# tooldir='$(exec_prefix)/'$target_alias -# Temporary work-around until building in source tree is supported -AC_REQUIRE([RTEMS_PROJECT_ROOT]) - -tooldir='$(PROJECT_ROOT)' -AC_SUBST(tooldir) - -project_includedir='$(tooldir)'/include -AC_SUBST(project_includedir) - -project_libdir='$(tooldir)/lib$(MULTISUBDIR)' -AC_SUBST(project_libdir) - -project_bindir='$(tooldir)/bin' -AC_SUBST(project_bindir) - -rtems_bspdir='$(prefix)/${RTEMS_BSP}' -AC_SUBST(rtems_bspdir) -rtems_makedir='$(prefix)/make' -AC_SUBST(rtems_makedir) -]) diff --git a/aclocal/version.m4 b/aclocal/version.m4 deleted file mode 100644 index 69e3eea10a..0000000000 --- a/aclocal/version.m4 +++ /dev/null @@ -1,4 +0,0 @@ -AC_DEFUN([RTEMS_VERSIONING], -m4_define([_RTEMS_VERSION],[6.0.0])) - -m4_define([_RTEMS_API],[6]) |