Changeset 789694a1 in rtems
- Timestamp:
- 02/20/04 01:22:04 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a922482b
- Parents:
- fcf0034
- Location:
- c/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/ChangeLog
rfcf0034 r789694a1 1 2004-02-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * acinclude.m4: Fix loosing arguments when configuring cpukit and 4 testsuites (Was exposed with --enable-multilib, only). 5 Remove RTEMS_SUBCONFIGURE_ARGS_QUOTE. RTEMS_CONFIG_SUBDIR. 6 Add RTEMS_BSP_CONFIG_SUBDIR. 7 * configure.ac: Reflect changes to acinclude.m4. Reflect new args to 8 testsuites's configure. 9 * aclocal/rtems-top.m4: Remove ENDIF hack. 10 Rework and fix setting up PROJECT_TOPdir (PACKHEX wasn't found). 11 1 12 2004-02-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 13 -
c/src/acinclude.m4
rfcf0034 r789694a1 6 6 # subdirectory handling solution is introduced to RTEMS. 7 7 8 AC_DEFUN([ RTEMS_SUBCONFIGURE_ARGS_QUOTE],8 AC_DEFUN([_RTEMS_CONFIG_SUBDIR], 9 9 [ 10 RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args])11 ])12 13 AC_DEFUN([RTEMS_CONFIG_SUBDIR],14 [AC_REQUIRE([RTEMS_SUBCONFIGURE_ARGS_QUOTE])15 10 if test "$no_recursion" != yes; then 16 11 ac_sub_sourcedir=$2 … … 82 77 fi 83 78 ]) 79 80 ## RTEMS_BSP_CONFIG_SUBDIR(builddir,srcdir,configargs,condition) 81 AC_DEFUN([RTEMS_BSP_CONFIG_SUBDIR],[ 82 m4_expand_once([RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args])]) 83 AS_IF([$4],[BSP_SUBDIRS="$BSP_SUBDIRS $1"]) 84 AC_CONFIG_COMMANDS_POST([ 85 AS_IF([$4],[_RTEMS_CONFIG_SUBDIR([$1],[$2],[$3])])]) 86 ]) -
c/src/aclocal/rtems-top.m4
rfcf0034 r789694a1 18 18 AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API]) 19 19 20 ## HACK to allow gnu-make conditionals in automake-Makefiles. 21 ENDIF=endif 22 AC_SUBST(ENDIF) 23 24 RTEMS_TOPdir="$1"; 25 AC_SUBST(RTEMS_TOPdir) 20 AC_SUBST([RTEMS_TOPdir],["$1"]) 26 21 27 22 ## with_target_subdirs is handled implicitly by autoconf 28 test -n "$with_target_subdir" || with_target_subdir="." 23 dots=`echo $with_target_subdir|\ 24 sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` 29 25 30 if test "$with_target_subdir" = "." ; then31 # Native32 PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'33 else34 # Cross35 dots=`echo $with_target_subdir|\36 sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`37 26 PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' 38 fi 39 AC_SUBST(PROJECT_TOPdir) 27 AC_SUBST([PROJECT_TOPdir]) 28 29 RTEMS_ROOT=`echo "$1/" | sed -e 's,^../../,,'`'$(top_builddir)' 30 AC_SUBST([RTEMS_ROOT]) 40 31 41 32 PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" -
c/src/configure.ac
rfcf0034 r789694a1 118 118 RTEMS_CHECK_MULTIPROCESSING 119 119 120 BSP_SUBDIRS= 120 121 ## Configure ${srcdir}/../../cpukit as cpukit/ if multilibs are disabled 121 AS_IF([test x"$multilib" = x"no"],[ 122 AC_CONFIG_COMMANDS_POST([ 123 if test x"$multilib" = x"no"; then 124 RTEMS_CONFIG_SUBDIR([cpukit],[../../cpukit], 125 ['--with-project-root=../../..' '--enable-rtemsbsp=$RTEMS_BSP']) 126 fi 127 ]) 128 BSP_SUBDIRS="cpukit" 129 ]) 122 RTEMS_BSP_CONFIG_SUBDIR( 123 [cpukit],[../../cpukit], 124 ['--with-project-root=../../..' '--enable-rtemsbsp=$RTEMS_BSP'], 125 [test x"$multilib" = x"no"]) 130 126 131 127 ## Note: the order of the directories below is essential … … 180 176 ]) 181 177 182 AS_IF([test -d ${srcdir}/../../testsuites],[ 183 BSP_SUBDIRS="$BSP_SUBDIRS testsuites"184 ]) 185 186 AC_CONFIG_COMMANDS_POST([187 RTEMS_CONFIG_SUBDIR([testsuites],[../../testsuites],188 ['--with-project-root=../../' '--enable-rtemsbsp=$RTEMS_BSP'])189 ])178 RTEMS_BSP_CONFIG_SUBDIR( 179 [testsuites],[../../testsuites], 180 ['--with-target-subdir=$with_target_subdir/c/$RTEMS_BSP' \ 181 '--with-rtems-root=../' \ 182 '--with-project-root=../../../' \ 183 '--enable-rtemsbsp=$RTEMS_BSP' \ 184 ], 185 [test x"$enable_tests" != x"no"]) 190 186 191 187 AC_SUBST([BSP_SUBDIRS],[$BSP_SUBDIRS])
Note: See TracChangeset
for help on using the changeset viewer.