Changeset 9a6994b4 in rtems
- Timestamp:
- 06/18/98 15:22:35 (26 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 7e4c3d8b
- Parents:
- ce691c51
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
c/ACKNOWLEDGEMENTS
rce691c51 r9a6994b4 121 121 for the Hitachi SH port. 122 122 123 + Dario Alcocer <alcocer@connectnet.com> submitted a port of the 124 RTEMS port to FreeBSD. 125 123 126 Finally, the RTEMS project would like to thank those who have contributed 124 127 to the other free software efforts which RTEMS utilizes. The primary RTEMS -
c/src/exec/libcsupport/src/termios.c
rce691c51 r9a6994b4 24 24 #include <termios.h> 25 25 #include <unistd.h> 26 27 /* 28 * FreeBSD does not support a full POSIX termios so we have to help it out 29 */ 30 31 32 #if defined(__FreeBSD__) 33 #define XTABS 0 34 #define ONLRET 0 35 #define ONOCR 0 36 #define TABDLY 0 37 #define OLCUC 0 38 #define ILCUC 0 39 #endif 26 40 27 41 /* -
c/src/exec/score/cpu/unix/cpu.c
rce691c51 r9a6994b4 153 153 sigaction(SIGUSR2, &act, 0); 154 154 sigaction(SIGCHLD, &act, 0); 155 #ifdef SIGCLD 155 156 sigaction(SIGCLD, &act, 0); 157 #endif 158 #ifdef SIGPWR 156 159 sigaction(SIGPWR, &act, 0); 160 #endif 157 161 sigaction(SIGVTALRM, &act, 0); 158 162 sigaction(SIGPROF, &act, 0); … … 742 746 switch (sig_num) 743 747 { 748 #ifdef SIGCLD 744 749 case SIGCLD: 745 750 break; 746 751 #endif 747 752 default: 748 753 { … … 988 993 help.val = 1; 989 994 status = semctl( _CPU_SHM_Semid, i, SETVAL, help ); 990 #elif defined(__linux__) 995 #elif defined(__linux__) || defined(__FreeBSD__) 991 996 union semun help; 992 997 -
c/src/exec/score/cpu/unix/cpu.h
rce691c51 r9a6994b4 383 383 384 384 #ifdef RTEMS_UNIXLIB 385 #if defined(__FreeBSD__) 386 #define RET_OFF 0 387 #define EBX_OFF 1 388 #define EBP_OFF 2 389 #define ESP_OFF 3 390 #define ESI_OFF 4 391 #define EDI_OFF 5 392 #else 385 393 #define EBX_OFF 0 386 394 #define ESI_OFF 1 … … 389 397 #define ESP_OFF 4 390 398 #define RET_OFF 5 399 #endif 391 400 #endif 392 401 -
c/src/exec/score/cpu/unix/unix.h
rce691c51 r9a6994b4 47 47 #define CPU_MODEL_NAME "Linux" 48 48 49 #elif defined(__FreeBSD__) 50 51 #define CPU_MODEL_NAME "FreeBSD" 52 49 53 #else 50 54 -
c/src/exec/score/tools/generic/size_rtems.in
rce691c51 r9a6994b4 52 52 rtems_cpu=unix 53 53 bsp=linux1 54 echo Not supported on unix port. 55 exit 0 56 ;; 57 i[3456]86-unknown-freebsd2.[12]*) 58 echo freebsd 59 rtems_cpu=unix 60 bsp=freebsd2 54 61 echo Not supported on unix port. 55 62 exit 0 -
c/src/lib/libc/termios.c
rce691c51 r9a6994b4 24 24 #include <termios.h> 25 25 #include <unistd.h> 26 27 /* 28 * FreeBSD does not support a full POSIX termios so we have to help it out 29 */ 30 31 32 #if defined(__FreeBSD__) 33 #define XTABS 0 34 #define ONLRET 0 35 #define ONOCR 0 36 #define TABDLY 0 37 #define OLCUC 0 38 #define ILCUC 0 39 #endif 26 40 27 41 /* -
configure
rce691c51 r9a6994b4 1322 1322 RTEMS_HAS_POSIX_API=no 1323 1323 ;; 1324 i[3456]86-unknown-freebsd2.[12]*) # unix "simulator" port 1325 target_cpu=unix 1326 RTEMS_HOST=FreeBSD 1327 # override these settings 1328 RTEMS_HAS_POSIX_API=no 1329 ;; 1324 1330 no_cpu-*rtems*) 1325 1331 target_cpu=no_cpu … … 1337 1343 *) 1338 1344 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 1339 echo "configure:134 0: checking rtems target cpu" >&51345 echo "configure:1346: checking rtems target cpu" >&5 1340 1346 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` 1341 1347 echo "$ac_t""$target_cpu" 1>&6 … … 1356 1362 # Is this a supported CPU? 1357 1363 echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6 1358 echo "configure:13 59: checking if cpu $target_cpu is supported" >&51364 echo "configure:1365: checking if cpu $target_cpu is supported" >&5 1359 1365 if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then 1360 1366 echo "$ac_t""yes" 1>&6 … … 1381 1387 set dummy $ac_prog; ac_word=$2 1382 1388 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1383 echo "configure:13 84: checking for $ac_word" >&51389 echo "configure:1390: checking for $ac_word" >&5 1384 1390 if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then 1385 1391 echo $ac_n "(cached) $ac_c" 1>&6 … … 1421 1427 1422 1428 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1423 echo "configure:14 24: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51429 echo "configure:1430: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1424 1430 1425 1431 ac_ext=c … … 1431 1437 1432 1438 cat > conftest.$ac_ext <<EOF 1433 #line 14 34"configure"1439 #line 1440 "configure" 1434 1440 #include "confdefs.h" 1435 1441 main(){return(0);} 1436 1442 EOF 1437 if { (eval echo configure:14 38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1443 if { (eval echo configure:1444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1438 1444 ac_cv_prog_cc_works=yes 1439 1445 # If we can't run a trivial program, we are probably using a cross compiler. … … 1455 1461 fi 1456 1462 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1457 echo "configure:14 58: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51463 echo "configure:1464: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1458 1464 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1459 1465 cross_compiling=$ac_cv_prog_cc_cross 1460 1466 1461 1467 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1462 echo "configure:146 3: checking whether we are using GNU C" >&51468 echo "configure:1469: checking whether we are using GNU C" >&5 1463 1469 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1464 1470 echo $ac_n "(cached) $ac_c" 1>&6 … … 1469 1475 #endif 1470 1476 EOF 1471 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:147 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1477 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1472 1478 ac_cv_prog_gcc=yes 1473 1479 else … … 1484 1490 CFLAGS= 1485 1491 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1486 echo "configure:14 87: checking whether ${CC-cc} accepts -g" >&51492 echo "configure:1493: checking whether ${CC-cc} accepts -g" >&5 1487 1493 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1488 1494 echo $ac_n "(cached) $ac_c" 1>&6 … … 1526 1532 1527 1533 echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6 1528 echo "configure:15 29: checking whether $CC_FOR_TARGET accepts -specs" >&51534 echo "configure:1535: checking whether $CC_FOR_TARGET accepts -specs" >&5 1529 1535 if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then 1530 1536 echo $ac_n "(cached) $ac_c" 1>&6 … … 1545 1551 1546 1552 echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6 1547 echo "configure:15 48: checking whether $CC_FOR_TARGET accepts --pipe" >&51553 echo "configure:1554: checking whether $CC_FOR_TARGET accepts --pipe" >&5 1548 1554 if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then 1549 1555 echo $ac_n "(cached) $ac_c" 1>&6 … … 1586 1592 set dummy $ac_prog; ac_word=$2 1587 1593 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1588 echo "configure:15 89: checking for $ac_word" >&51594 echo "configure:1595: checking for $ac_word" >&5 1589 1595 if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then 1590 1596 echo $ac_n "(cached) $ac_c" 1>&6 … … 1626 1632 1627 1633 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1628 echo "configure:16 29: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&51634 echo "configure:1635: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1629 1635 1630 1636 ac_ext=C … … 1636 1642 1637 1643 cat > conftest.$ac_ext <<EOF 1638 #line 16 39"configure"1644 #line 1645 "configure" 1639 1645 #include "confdefs.h" 1640 1646 main(){return(0);} 1641 1647 EOF 1642 if { (eval echo configure:164 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1648 if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1643 1649 ac_cv_prog_cxx_works=yes 1644 1650 # If we can't run a trivial program, we are probably using a cross compiler. … … 1666 1672 fi 1667 1673 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1668 echo "configure:16 69: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51674 echo "configure:1675: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1669 1675 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1670 1676 cross_compiling=$ac_cv_prog_cxx_cross 1671 1677 1672 1678 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1673 echo "configure:16 74: checking whether we are using GNU C++" >&51679 echo "configure:1680: checking whether we are using GNU C++" >&5 1674 1680 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1675 1681 echo $ac_n "(cached) $ac_c" 1>&6 … … 1680 1686 #endif 1681 1687 EOF 1682 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:168 3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1688 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1683 1689 ac_cv_prog_gxx=yes 1684 1690 else … … 1695 1701 CXXFLAGS= 1696 1702 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1697 echo "configure:1 698: checking whether ${CXX-g++} accepts -g" >&51703 echo "configure:1704: checking whether ${CXX-g++} accepts -g" >&5 1698 1704 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1699 1705 echo $ac_n "(cached) $ac_c" 1>&6 … … 1758 1764 set dummy "$program_prefix"ar; ac_word=$2 1759 1765 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1760 echo "configure:176 1: checking for $ac_word" >&51766 echo "configure:1767: checking for $ac_word" >&5 1761 1767 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 1762 1768 echo $ac_n "(cached) $ac_c" 1>&6 … … 1790 1796 set dummy "$program_prefix"as; ac_word=$2 1791 1797 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1792 echo "configure:179 3: checking for $ac_word" >&51798 echo "configure:1799: checking for $ac_word" >&5 1793 1799 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 1794 1800 echo $ac_n "(cached) $ac_c" 1>&6 … … 1822 1828 set dummy "$program_prefix"nm; ac_word=$2 1823 1829 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1824 echo "configure:18 25: checking for $ac_word" >&51830 echo "configure:1831: checking for $ac_word" >&5 1825 1831 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 1826 1832 echo $ac_n "(cached) $ac_c" 1>&6 … … 1854 1860 set dummy "$program_prefix"ld; ac_word=$2 1855 1861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1856 echo "configure:18 57: checking for $ac_word" >&51862 echo "configure:1863: checking for $ac_word" >&5 1857 1863 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 1858 1864 echo $ac_n "(cached) $ac_c" 1>&6 … … 1887 1893 set dummy "$program_prefix"ranlib; ac_word=$2 1888 1894 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1889 echo "configure:189 0: checking for $ac_word" >&51895 echo "configure:1896: checking for $ac_word" >&5 1890 1896 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 1891 1897 echo $ac_n "(cached) $ac_c" 1>&6 … … 1920 1926 set dummy "$program_prefix"objcopy; ac_word=$2 1921 1927 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1922 echo "configure:192 3: checking for $ac_word" >&51928 echo "configure:1929: checking for $ac_word" >&5 1923 1929 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 1924 1930 echo $ac_n "(cached) $ac_c" 1>&6 … … 1952 1958 set dummy "$program_prefix"size; ac_word=$2 1953 1959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1954 echo "configure:19 55: checking for $ac_word" >&51960 echo "configure:1961: checking for $ac_word" >&5 1955 1961 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 1956 1962 echo $ac_n "(cached) $ac_c" 1>&6 … … 1986 1992 set dummy gcc; ac_word=$2 1987 1993 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1988 echo "configure:19 89: checking for $ac_word" >&51994 echo "configure:1995: checking for $ac_word" >&5 1989 1995 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1990 1996 echo $ac_n "(cached) $ac_c" 1>&6 … … 2015 2021 set dummy cc; ac_word=$2 2016 2022 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2017 echo "configure:20 18: checking for $ac_word" >&52023 echo "configure:2024: checking for $ac_word" >&5 2018 2024 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2019 2025 echo $ac_n "(cached) $ac_c" 1>&6 … … 2063 2069 2064 2070 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2065 echo "configure:20 66: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52071 echo "configure:2072: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2066 2072 2067 2073 ac_ext=c … … 2073 2079 2074 2080 cat > conftest.$ac_ext <<EOF 2075 #line 20 76"configure"2081 #line 2082 "configure" 2076 2082 #include "confdefs.h" 2077 2083 main(){return(0);} 2078 2084 EOF 2079 if { (eval echo configure:208 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2085 if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2080 2086 ac_cv_prog_cc_works=yes 2081 2087 # If we can't run a trivial program, we are probably using a cross compiler. … … 2097 2103 fi 2098 2104 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2099 echo "configure:210 0: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52105 echo "configure:2106: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2100 2106 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2101 2107 cross_compiling=$ac_cv_prog_cc_cross 2102 2108 2103 2109 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2104 echo "configure:21 05: checking whether we are using GNU C" >&52110 echo "configure:2111: checking whether we are using GNU C" >&5 2105 2111 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2106 2112 echo $ac_n "(cached) $ac_c" 1>&6 … … 2111 2117 #endif 2112 2118 EOF 2113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:21 14: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2119 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2114 2120 ac_cv_prog_gcc=yes 2115 2121 else … … 2126 2132 CFLAGS= 2127 2133 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2128 echo "configure:21 29: checking whether ${CC-cc} accepts -g" >&52134 echo "configure:2135: checking whether ${CC-cc} accepts -g" >&5 2129 2135 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2130 2136 echo $ac_n "(cached) $ac_c" 1>&6 … … 2157 2163 do 2158 2164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2159 echo "configure:216 0: checking for $ac_func" >&52165 echo "configure:2166: checking for $ac_func" >&5 2160 2166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2161 2167 echo $ac_n "(cached) $ac_c" 1>&6 2162 2168 else 2163 2169 cat > conftest.$ac_ext <<EOF 2164 #line 21 65"configure"2170 #line 2171 "configure" 2165 2171 #include "confdefs.h" 2166 2172 /* System header to define __stub macros and hopefully few prototypes, … … 2185 2191 ; return 0; } 2186 2192 EOF 2187 if { (eval echo configure:21 88: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2193 if { (eval echo configure:2194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2188 2194 rm -rf conftest* 2189 2195 eval "ac_cv_func_$ac_func=yes" … … 2213 2219 2214 2220 echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6 2215 echo "configure:22 16: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&52221 echo "configure:2222: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5 2216 2222 if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then 2217 2223 rtems_av_save_dir=`pwd`; … … 2228 2234 2229 2235 echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6 2230 echo "configure:223 1: checking for Makefile.in in c/src/exec/rtems" >&52236 echo "configure:2237: checking for Makefile.in in c/src/exec/rtems" >&5 2231 2237 if test -d $srcdir/c/src/exec/rtems; then 2232 2238 rtems_av_save_dir=`pwd`; … … 2243 2249 2244 2250 echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6 2245 echo "configure:22 46: checking for Makefile.in in c/src/exec/sapi" >&52251 echo "configure:2252: checking for Makefile.in in c/src/exec/sapi" >&5 2246 2252 if test -d $srcdir/c/src/exec/sapi; then 2247 2253 rtems_av_save_dir=`pwd`; … … 2260 2266 2261 2267 echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6 2262 echo "configure:226 3: checking for Makefile.in in c/src/exec/posix" >&52268 echo "configure:2269: checking for Makefile.in in c/src/exec/posix" >&5 2263 2269 if test -d $srcdir/c/src/exec/posix; then 2264 2270 rtems_av_save_dir=`pwd`; … … 2282 2288 if test -z "$rtems_bsp"; then 2283 2289 echo $ac_n "checking for bsps""... $ac_c" 1>&6 2284 echo "configure:22 85: checking for bsps" >&52290 echo "configure:2291: checking for bsps" >&5 2285 2291 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 2286 2292 for file in $files; do … … 2337 2343 2338 2344 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir/$bspdir""... $ac_c" 1>&6 2339 echo "configure:234 0: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir/$bspdir" >&52345 echo "configure:2346: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir/$bspdir" >&5 2340 2346 if test -d $srcdir/c/src/lib/libbsp/$bspcpudir/$bspdir; then 2341 2347 rtems_av_save_dir=`pwd`; … … 2360 2366 2361 2367 echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 2362 echo "configure:236 3: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&52368 echo "configure:2369: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5 2363 2369 if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then 2364 2370 rtems_av_save_dir=`pwd`; … … 2377 2383 2378 2384 echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 2379 echo "configure:238 0: checking for Makefile.in in c/src/lib/start/$target_cpu" >&52385 echo "configure:2386: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5 2380 2386 if test -d $srcdir/c/src/lib/start/$target_cpu; then 2381 2387 rtems_av_save_dir=`pwd`; … … 2419 2425 # If the tests are enabled, then find all the test suite Makefiles 2420 2426 echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6 2421 echo "configure:242 2: checking if the test suites are enabled? " >&52427 echo "configure:2428: checking if the test suites are enabled? " >&5 2422 2428 tests_enabled=yes 2423 2429 # Check whether --enable-tests or --disable-tests was given. … … 2438 2444 2439 2445 echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6 2440 echo "configure:244 1: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&52446 echo "configure:2447: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5 2441 2447 if test -d $srcdir/c/src/tests/tools/$target_cpu; then 2442 2448 rtems_av_save_dir=`pwd`; … … 2455 2461 2456 2462 echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6 2457 echo "configure:24 58: checking for Makefile.in in c/src/tests/libtests" >&52463 echo "configure:2464: checking for Makefile.in in c/src/tests/libtests" >&5 2458 2464 if test -d $srcdir/c/src/tests/libtests; then 2459 2465 rtems_av_save_dir=`pwd`; … … 2470 2476 2471 2477 echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6 2472 echo "configure:247 3: checking for Makefile.in in c/src/tests/sptests" >&52478 echo "configure:2479: checking for Makefile.in in c/src/tests/sptests" >&5 2473 2479 if test -d $srcdir/c/src/tests/sptests; then 2474 2480 rtems_av_save_dir=`pwd`; … … 2485 2491 2486 2492 echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6 2487 echo "configure:24 88: checking for Makefile.in in c/src/tests/tmtests" >&52493 echo "configure:2494: checking for Makefile.in in c/src/tests/tmtests" >&5 2488 2494 if test -d $srcdir/c/src/tests/tmtests; then 2489 2495 rtems_av_save_dir=`pwd`; … … 2500 2506 2501 2507 echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6 2502 echo "configure:250 3: checking for Makefile.in in c/src/tests/mptests" >&52508 echo "configure:2509: checking for Makefile.in in c/src/tests/mptests" >&5 2503 2509 if test -d $srcdir/c/src/tests/mptests; then 2504 2510 rtems_av_save_dir=`pwd`; … … 2516 2522 2517 2523 echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6 2518 echo "configure:25 19: checking for Makefile.in in c/src/tests/psxtests" >&52524 echo "configure:2525: checking for Makefile.in in c/src/tests/psxtests" >&5 2519 2525 if test -d $srcdir/c/src/tests/psxtests; then 2520 2526 rtems_av_save_dir=`pwd`; … … 2534 2540 # If the HWAPI is enabled, the find the HWAPI Makefiles 2535 2541 echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6 2536 echo "configure:25 37: checking if the HWAPI is enabled? " >&52542 echo "configure:2543: checking if the HWAPI is enabled? " >&5 2537 2543 # Check whether --enable-hwapi or --disable-hwapi was given. 2538 2544 if test "${enable_hwapi+set}" = set; then … … 2545 2551 2546 2552 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6 2547 echo "configure:25 48: checking for Makefile.in in c/src/lib/libhwapi/analog" >&52553 echo "configure:2554: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5 2548 2554 if test -d $srcdir/c/src/lib/libhwapi/analog; then 2549 2555 rtems_av_save_dir=`pwd`; … … 2560 2566 2561 2567 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6 2562 echo "configure:256 3: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&52568 echo "configure:2569: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5 2563 2569 if test -d $srcdir/c/src/lib/libhwapi/discrete; then 2564 2570 rtems_av_save_dir=`pwd`; … … 2575 2581 2576 2582 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6 2577 echo "configure:25 78: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&52583 echo "configure:2584: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5 2578 2584 if test -d $srcdir/c/src/lib/libhwapi/drivers; then 2579 2585 rtems_av_save_dir=`pwd`; … … 2590 2596 2591 2597 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6 2592 echo "configure:259 3: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&52598 echo "configure:2599: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5 2593 2599 if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then 2594 2600 rtems_av_save_dir=`pwd`; … … 2605 2611 2606 2612 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6 2607 echo "configure:26 08: checking for Makefile.in in c/src/lib/libhwapi/serial" >&52613 echo "configure:2614: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5 2608 2614 if test -d $srcdir/c/src/lib/libhwapi/serial; then 2609 2615 rtems_av_save_dir=`pwd`; … … 2620 2626 2621 2627 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6 2622 echo "configure:262 3: checking for Makefile.in in c/src/lib/libhwapi/support" >&52628 echo "configure:2629: checking for Makefile.in in c/src/lib/libhwapi/support" >&5 2623 2629 if test -d $srcdir/c/src/lib/libhwapi/support; then 2624 2630 rtems_av_save_dir=`pwd`; … … 2635 2641 2636 2642 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6 2637 echo "configure:26 38: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&52643 echo "configure:2644: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5 2638 2644 if test -d $srcdir/c/src/lib/libhwapi/wrapup; then 2639 2645 rtems_av_save_dir=`pwd`; … … 2680 2686 2681 2687 echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6 2682 echo "configure:268 3: checking for Makefile.in in c/build-tools" >&52688 echo "configure:2689: checking for Makefile.in in c/build-tools" >&5 2683 2689 if test -d $srcdir/c/build-tools; then 2684 2690 rtems_av_save_dir=`pwd`; … … 2695 2701 2696 2702 echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6 2697 echo "configure:2 698: checking for Makefile.in in make" >&52703 echo "configure:2704: checking for Makefile.in in make" >&5 2698 2704 if test -d $srcdir/make; then 2699 2705 rtems_av_save_dir=`pwd`; … … 2710 2716 2711 2717 echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6 2712 echo "configure:271 3: checking for Makefile.in in c/src/lib/libmisc" >&52718 echo "configure:2719: checking for Makefile.in in c/src/lib/libmisc" >&5 2713 2719 if test -d $srcdir/c/src/lib/libmisc; then 2714 2720 rtems_av_save_dir=`pwd`; … … 2725 2731 2726 2732 echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6 2727 echo "configure:27 28: checking for Makefile.in in c/src/tests/samples" >&52733 echo "configure:2734: checking for Makefile.in in c/src/tests/samples" >&5 2728 2734 if test -d $srcdir/c/src/tests/samples; then 2729 2735 rtems_av_save_dir=`pwd`; -
configure.in
rce691c51 r9a6994b4 151 151 target_cpu=unix 152 152 RTEMS_HOST=Linux 153 # override these settings 154 RTEMS_HAS_POSIX_API=no 155 ;; 156 i[[3456]]86-unknown-freebsd2.[[12]]*) # unix "simulator" port 157 target_cpu=unix 158 RTEMS_HOST=FreeBSD 153 159 # override these settings 154 160 RTEMS_HAS_POSIX_API=no -
cpukit/libcsupport/src/termios.c
rce691c51 r9a6994b4 24 24 #include <termios.h> 25 25 #include <unistd.h> 26 27 /* 28 * FreeBSD does not support a full POSIX termios so we have to help it out 29 */ 30 31 32 #if defined(__FreeBSD__) 33 #define XTABS 0 34 #define ONLRET 0 35 #define ONOCR 0 36 #define TABDLY 0 37 #define OLCUC 0 38 #define ILCUC 0 39 #endif 26 40 27 41 /* -
cpukit/score/cpu/unix/cpu.c
rce691c51 r9a6994b4 153 153 sigaction(SIGUSR2, &act, 0); 154 154 sigaction(SIGCHLD, &act, 0); 155 #ifdef SIGCLD 155 156 sigaction(SIGCLD, &act, 0); 157 #endif 158 #ifdef SIGPWR 156 159 sigaction(SIGPWR, &act, 0); 160 #endif 157 161 sigaction(SIGVTALRM, &act, 0); 158 162 sigaction(SIGPROF, &act, 0); … … 742 746 switch (sig_num) 743 747 { 748 #ifdef SIGCLD 744 749 case SIGCLD: 745 750 break; 746 751 #endif 747 752 default: 748 753 { … … 988 993 help.val = 1; 989 994 status = semctl( _CPU_SHM_Semid, i, SETVAL, help ); 990 #elif defined(__linux__) 995 #elif defined(__linux__) || defined(__FreeBSD__) 991 996 union semun help; 992 997 -
tools/cpu/generic/size_rtems.in
rce691c51 r9a6994b4 52 52 rtems_cpu=unix 53 53 bsp=linux1 54 echo Not supported on unix port. 55 exit 0 56 ;; 57 i[3456]86-unknown-freebsd2.[12]*) 58 echo freebsd 59 rtems_cpu=unix 60 bsp=freebsd2 54 61 echo Not supported on unix port. 55 62 exit 0
Note: See TracChangeset
for help on using the changeset viewer.