Changeset 7a928017 in rtems
- Timestamp:
- 06/12/03 06:28:16 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6381642a
- Parents:
- 87a95526
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r87a95526 r7a928017 31 31 aclocal/rtems-test-no-pause.m4 aclocal/rtems-top.m4 \ 32 32 aclocal/target.m4 aclocal/tool-paths.m4 aclocal/bspopts.m4 \ 33 aclocal/ppc.m4 aclocal/bsp-configure.m4 33 aclocal/ppc.m4 aclocal/bsp-configure.m4 aclocal/gcc-isystem.m4 34 34 35 35 noinst_SCRIPTS = bootstrap -
acinclude.m4
r87a95526 r7a928017 4 4 ## ${BUILD_CONFIGDIRS_LIST} is directories we build using the build tools 5 5 6 AC_PREREQ(2.57) 6 7 7 8 dnl RTEMS_ARG_VAR(VAR,HELP-STRING) … … 43 44 AC_CONFIG_COMMANDS_PRE([ 44 45 45 test -z "$host_alias" && host_alias="$host" 46 test -z "$build_alias" && build_alias="$build" 47 test -z "$target_alias" && target_alias="$target" 46 if test -z "${build_alias}"; then 47 # build_alias is empty 48 if test -z "${host_alias}"; then 49 # host_alias is empty 50 if test -z "${target_alias}"; then 51 : target_alias is empty 52 else 53 : target_alias is not empty 54 fi 55 else 56 # host_alias is not empty 57 if test -z "${target_alias}"; then 58 : target_alias is empty 59 target_alias="${host_alias}" 60 else 61 : target_alias is not empty 62 fi 63 fi 64 else 65 # build_alias is not empty 66 if test -z "${host_alias}"; then 67 # host_alias is empty 68 if test -z "${target_alias}"; then 69 : target_alias is empty 70 else 71 : target_alias is not empty 72 fi 73 else 74 # host_alias is not empty 75 if test -z "${target_alias}"; then 76 : target_alias is empty 77 target_alias="${host_alias}" 78 else 79 : target_alias is not empty 80 fi 81 fi 82 fi 48 83 49 84 _RTEMS_BUILD_CONFIG_PREPARE … … 51 86 _RTEMS_TARGET_CONFIG_PREPARE 52 87 88 build_subdir="." 53 89 build_SUBDIRS="${build_configdirs}" 54 90 build_configdirs="${build_configdirs}" 55 91 56 AS_IF([test $build = $host],92 AS_IF([test $build != $host], 57 93 [dnl 58 AS_IF([test $host = $target], 59 [dnl b=h, h=t, t=b 60 host_SUBDIRS="${host_configdirs}" 61 host_configdirs="${host_configdirs}" 62 target_SUBDIRS="${target_configdirs}" 63 target_configdirs="${target_configdirs}"], 64 [dnl b=h, h!=t, t!=b 65 host_SUBDIRS="${host_configdirs}" 66 host_configdirs="${host_configdirs}" 67 target_SUBDIRS=`echo "${target_configdirs}" | \ 68 sed -e "s%\([[^ ]][[^ ]]*\)%$target_alias/\1%g"` 69 target_configdirs="${target_configdirs}" 70 ]) 94 host_subdir="${host_alias-$host}" 95 host_SUBDIRS=`echo "${host_configdirs}" | \ 96 sed -e "s%\([[^ ]][[^ ]]*\)%$host_subdir/\1%g"` 97 host_configdirs="${host_configdirs}" 71 98 ],[dnl 72 AS_IF([test $host = $target], 73 [ dnl b!=h, h=t, b!=t 74 host_SUBDIRS=`echo "${host_configdirs}" | \ 75 sed -e "s%\([[^ ]][[^ ]]*\)%$host_alias/\1%g"` 76 host_configdirs="${host_configdirs}" 77 AS_IF([test x"$enable_experimental" = x"yes" ],[ 78 target_SUBDIRS=`echo "${target_configdirs}" | \ 79 sed -e "s%\([[^ ]][[^ ]]*\)%$target_alias/\1%g"` 80 target_configdirs="${target_configdirs}" 81 ]) 82 ],[dnl 83 AS_IF([test $build = $target], 84 [dnl b!=h, h!=t, b=t 85 host_SUBDIRS=`echo "${host_configdirs}" | \ 86 sed -e "s%\([[^ ]][[^ ]]*\)%$host_alias/\1%g"` 87 host_configdirs="${host_configdirs}" 88 AS_IF([test x"$enable_experimental" = x"yes" ],[ 89 target_SUBDIRS="${target_configdirs}" 90 target_configdirs="${target_configdirs}" 91 ]) 92 ],[dnl b!=h, h!=t, b!=t 93 host_SUBDIRS=`echo "${host_configdirs}" | \ 94 sed -e "s%\([[^ ]][[^ ]]*\)%$host_alias/\1%g"` 95 host_configdirs="${host_configdirs}" 96 AS_IF([test x"$enable_experimental" = x"yes" ],[ 97 target_SUBDIRS=`echo "${target_configdirs}" | \ 98 sed -e "s%\([[^ ]][[^ ]]*\)%$target_alias/\1%g"` 99 target_configdirs="${target_configdirs}" 100 ]) 101 ]) 102 ]) 99 host_SUBDIRS="${host_configdirs}" 100 host_configdirs="${host_configdirs}" 101 ]) 102 103 AS_IF([test $build != $target], 104 [dnl 105 target_subdir="${target_alias-$target}" 106 target_SUBDIRS=`echo "${target_configdirs}" | \ 107 sed -e "s%\([[^ ]][[^ ]]*\)%$target_subdir/\1%g"` 108 target_configdirs="${target_configdirs}" 109 ],[dnl 110 target_SUBDIRS="${target_configdirs}" 111 target_configdirs="${target_configdirs}" 103 112 ]) 104 113 … … 331 340 m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([buildargs])]) 332 341 eval buildargs_prune $ac_configure_args 333 buildargs="'--host=${build}' '--build=${build}' ${buildargs}" 334 test -n "${target_alias}" && \ 335 buildargs="${buildargs} --target='${target_alias}'" 336 build_subdir="." 342 buildargs="'--host=${build_alias-$build}' '--build=${build_alias-$build}' ${buildargs}" 343 buildargs="${buildargs} '--target=${target_alias-$target}'" 337 344 ],[]) 345 AC_SUBST(buildargs) 346 AC_SUBST(build_subdir) 338 347 ]) 339 348 … … 356 365 m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([hostargs])]) 357 366 eval hostargs_prune $ac_configure_args 358 hostargs="'--host=${host_alias}' '--build=${build}' '--target=${target_alias}' ${hostargs}" 359 host_subdir="${host_alias}" 367 hostargs="'--host=${host_alias-$host}' '--build=${build_alias-$build}' '--target=${target_alias-$target}' ${hostargs}" 360 368 ],[]) 369 AC_SUBST(hostargs) 370 AC_SUBST(host_subdir) 361 371 ]) 362 372 … … 379 389 m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([targetargs])]) 380 390 eval targetargs_prune $ac_configure_args 381 targetargs="'--host=${target_alias}' '--build=${build}' '--target=${target_alias}' ${targetargs}" 382 target_subdir="${target_alias}" 391 targetargs="'--host=${target_alias-$target}' '--build=${build_alias-$build}' '--target=${target_alias-$target}' ${targetargs}" 383 392 ],[]) 384 ]) 393 AC_SUBST(targetargs) 394 AC_SUBST(target_subdir) 395 ]) -
aclocal/prog-cc.m4
r87a95526 r7a928017 27 27 dnl check target cc 28 28 RTEMS_PROG_CC 29 dnl check if the compiler supports - -specs30 RTEMS_GCC_ SPECS29 dnl check if the compiler supports -isystem 30 RTEMS_GCC_ISYSTEM 31 31 dnl check if the target compiler may use --pipe 32 32 RTEMS_GCC_PIPE 33 33 test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe" 34 35 dnl check if the compiler supports --specs 36 RTEMS_GCC_SPECS 34 37 35 38 if test "$GCC" = yes; then … … 37 40 m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) 38 41 fi 42 43 AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[ 44 RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[ 45 RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" 39 46 ]) 47 AC_SUBST(RTEMS_CPPFLAGS) 48 ]) -
configure.ac
r87a95526 r7a928017 38 38 (default:disabled)])]) 39 39 40 if test $host != $build; then41 AC_MSG_WARN([]42 [*** *** *** WARNING *** *** ***]43 []44 [Entering BEYOND BLEEDING EDGE TERRITORY]45 []46 [You are trying to build RTEMS Canadian cross]47 [If you really mean it, feel free to continue ...]48 [*** *** *** *** *** *** *** ***])49 fi50 51 40 ## NOTES: 52 41 ## * tools/build are host-native tools to be installed on the host. … … 62 51 63 52 AS_IF([test x"${enable_docs}" = x"yes"], 64 [RTEMS_ HOST_CONFIG_SUBDIRS([doc])])53 [RTEMS_BUILD_CONFIG_SUBDIRS([doc])]) 65 54 66 55 AS_IF([test x"$enable_multilib" = x"yes"],[
Note: See TracChangeset
for help on using the changeset viewer.