Changeset 37b5d78 in rtems
- Timestamp:
- 09/14/01 17:30:22 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 130291f
- Parents:
- 0f466f7e
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r0f466f7e r37b5d78 1 2001-09-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * aclocal/canonical-target-name.m4: Use AC_CANONICAL_TARGET instead 4 of AC_CANONICAL_SYSTEM. 5 * aclocal/config-subdirs.m4: Use AS_MKDIR_P instead of 6 mkinstalldirs and mkdir. 7 * aclocal/target.m4: Obsolete RTEMS_OUTPUT_BUILD_SUBDIRS, 8 hack RTEMS_CONFIG_BUILD_SUBDIRS, introduce 9 _RTEMS_OUTPUT_BUILD_SUBDIRS. 10 1 11 2001-09-13 Joel Sherrill <joel@OARcorp.com> 2 12 -
aclocal/canonical-target-name.m4
r0f466f7e r37b5d78 11 11 AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU, 12 12 [ 13 AC_CANONICAL_ SYSTEM13 AC_CANONICAL_TARGET 14 14 AC_MSG_CHECKING(rtems target cpu) 15 15 case "${target}" in -
aclocal/config-subdirs.m4
r0f466f7e r37b5d78 16 16 # _RTEMS_PUSH_BUILDDIR 17 17 echo configuring in $1 18 ## We use mkinstalldirs below as a workaround to mkdir -p not being19 ## available everywhere, but us wanting to support deep directories.20 18 case "$srcdir" in 21 19 .) ;; 22 *) 23 if ${ac_aux_dir}/mkinstalldirs $1; 24 then :; 25 else 26 AC_MSG_ERROR([can not create `pwd`/$1]) 27 fi 20 *) AS_MKDIR_P([$1]) 28 21 ;; 29 22 esac … … 131 124 done 132 125 133 test -n "$target_configdirs" && test -d $target_subdir || mkdir $target_subdir 126 if test -n "$target_configdirs" && test -d $target_subdir; 127 then :; 128 else 129 AS_MKDIR_P(["$target_subdir"]) 130 fi 134 131 135 132 for ac_config_dir in $target_configdirs; do … … 208 205 done 209 206 210 test -n "$host_configdirs" && test -d $host_subdir || mkdir $host_subdir 207 if test -n "$host_configdirs" && test -d $host_subdir; 208 then :; 209 else 210 AS_MKDIR_P(["$host_subdir"]) 211 fi 211 212 212 213 for ac_config_dir in $host_configdirs; do -
aclocal/target.m4
r0f466f7e r37b5d78 4 4 ## The macros below violate most autoconf and canonicalization standards 5 5 AC_DEFUN(RTEMS_CONFIG_BUILD_SUBDIRS, 6 [ 7 define([RTEMS_BUILD_SUBDIRS], 8 ifdef([RTEMS_BUILD_SUBDIRS], [RTEMS_BUILD_SUBDIRS ],)[$1])dnl 9 build_subdirs="RTEMS_BUILD_SUBDIRS" 10 AC_SUBST(build_subdirs) 6 [AC_REQUIRE([_RTEMS_OUTPUT_BUILD_SUBDIRS]) 7 RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS [$1]" 11 8 ]) 12 9 13 10 dnl Derived from automake-1.4's AC_OUTPUT_SUBDIRS 14 AC_DEFUN(RTEMS_OUTPUT_BUILD_SUBDIRS, 11 AC_DEFUN([_RTEMS_OUTPUT_BUILD_SUBDIRS], 12 [AC_CONFIG_COMMANDS([bsp-tools], 15 13 [ 14 # HACK: This is a blantant hack and breaks Canadian crosses 15 build_alias="$build_alias" 16 host_alias="$build_alias" 16 17 if test "$no_recursion" != yes; then 17 if test $build_alias != $host_alias; then18 if test x"$build_alias" != x"$host_alias"; then 18 19 target_subdir="$host_alias" 19 20 else … … 22 23 # Remove --cache-file and --srcdir arguments so they do not pile up. 23 24 ac_sub_configure_args= 24 ac_prev=25 for ac_arg in $ac_configure_args; do26 if test -n "$ ac_prev"; then27 ac_prev=25 rtems_prev= 26 for rtems_arg in $ac_configure_args; do 27 if test -n "$rtems_prev"; then 28 rtems_prev= 28 29 continue 29 30 fi 30 case "$ ac_arg" in31 case "$rtems_arg" in 31 32 -cache-file | --cache-file | --cache-fil | --cache-fi \ 32 33 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 33 ac_prev=cache_file ;;34 rtems_prev=cache_file ;; 34 35 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 35 36 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 36 37 ;; 37 38 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 38 ac_prev=srcdir ;;39 rtems_prev=srcdir ;; 39 40 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 40 41 ;; … … 42 43 --build*) ;; 43 44 --host*) ;; 44 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 45 *_alias* ) ;; # HACK: Workaround to autoconf passing *_alias 46 *) ac_sub_configure_args="$ac_sub_configure_args $rtems_arg" ;; 45 47 esac 46 48 done 47 49 48 for ac_config_dir in $1; do 49 50 for rtems_config_dir in $RTEMS_BUILD_SUBDIRS; do 50 51 # Do not complain, so a configure script can configure whichever 51 52 # parts of a large source tree are present. 52 if test ! -d $srcdir/$ ac_config_dir; then53 if test ! -d $srcdir/$rtems_config_dir; then 53 54 continue 54 55 fi 55 56 56 _RTEMS_PUSH_BUILDDIR([$ ac_config_dir])57 _RTEMS_PUSH_BUILDDIR([$rtems_config_dir]) 57 58 58 _RTEMS_SUB_SRCDIR([$ ac_config_dir])59 _RTEMS_SUB_SRCDIR([$rtems_config_dir]) 59 60 60 61 # The recursion is here. 61 62 if test -n "$ac_sub_configure"; then 62 ac_sub_cache_file=./config.cache 63 # ac_sub_cache_file=./config.cache 64 ac_sub_cache_file=/dev/null 63 65 _RTEMS_GIVEN_INSTALL 64 66 … … 72 74 then : 73 75 else 74 AC_MSG_ERROR([$ac_sub_configure failed for $ ac_config_dir])76 AC_MSG_ERROR([$ac_sub_configure failed for $rtems_config_dir]) 75 77 fi 76 78 fi … … 78 80 _RTEMS_POP_BUILDDIR 79 81 done 80 fi 82 fi], 83 [ 84 RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS" 81 85 ]) 86 ]) 87 88 ## FIXME: This is obsolete. Only kept for backward compatibility 89 AU_DEFUN([RTEMS_OUTPUT_BUILD_SUBDIRS],[]) -
make/custom/mbx8xx.cfg
r0f466f7e r37b5d78 193 193 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group 194 194 $(NM) -g -n $(basename $@)_sym.exe> $(basename $@).nm 195 $(STRIP) - o$(basename $@).exe $(basename $@)_sym-exe195 $(STRIP) -O $(basename $@).exe $(basename $@)_sym-exe 196 196 $(SIZE) $(basename $@)_sym.exe 197 197 endef
Note: See TracChangeset
for help on using the changeset viewer.