Changeset 744df795 in rtems


Ignore:
Timestamp:
Dec 4, 1997, 6:38:05 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b5fe39d
Parents:
3013e18
Message:

Added better/more correct support for Linux and Solaris simulators.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r3013e18 r744df795  
    12771277
    12781278
     1279RTEMS_HOST=$host_os
     1280
    12791281case "${target}" in
    12801282  # hpux unix port should go here
     
    12941296        target_cpu=unix
    12951297        RTEMS_HAS_POSIX_API=no
     1298        RTEMS_HOST=Linux
    12961299        ;;
    12971300  no_cpu-rtems*)
     
    13051308        target_cpu=unix
    13061309        RTEMS_HAS_POSIX_API=no
     1310        RTEMS_HOST=Solaris
    13071311        ;;
    13081312  *)
    13091313        echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1310 echo "configure:1311: checking rtems target cpu" >&5
     1314echo "configure:1315: checking rtems target cpu" >&5
    13111315target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    13121316echo "$ac_t""$target_cpu" 1>&6
     
    13271331# Is this a supported CPU?
    13281332echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1329 echo "configure:1330: checking if cpu $target_cpu is supported" >&5
     1333echo "configure:1334: checking if cpu $target_cpu is supported" >&5
    13301334if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    13311335  echo "$ac_t""yes" 1>&6
     
    13371341# find all the Executive Makefiles
    13381342
     1343echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6
     1344echo "configure:1345: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
     1345if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then
     1346  rtems_av_save_dir=`pwd`;
     1347  cd $srcdir;
     1348  rtems_av_tmp=`find c/src/exec/score/tools/$target_cpu -name Makefile.in -follow -print | sed 's%\.in%%' | sort`;
     1349  makefiles="$makefiles $rtems_av_tmp";
     1350  cd $rtems_av_save_dir;
     1351  echo "$ac_t""done" 1>&6
     1352else
     1353  echo "$ac_t""no" 1>&6
     1354fi
     1355
     1356
     1357
    13391358echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
    1340 echo "configure:1341: checking for Makefile.in in c/src/exec/rtems" >&5
     1359echo "configure:1360: checking for Makefile.in in c/src/exec/rtems" >&5
    13411360if test -d $srcdir/c/src/exec/rtems; then
    13421361  rtems_av_save_dir=`pwd`;
     
    13531372
    13541373echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
    1355 echo "configure:1356: checking for Makefile.in in c/src/exec/sapi" >&5
     1374echo "configure:1375: checking for Makefile.in in c/src/exec/sapi" >&5
    13561375if test -d $srcdir/c/src/exec/sapi; then
    13571376  rtems_av_save_dir=`pwd`;
     
    13701389 
    13711390echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
    1372 echo "configure:1373: checking for Makefile.in in c/src/exec/posix" >&5
     1391echo "configure:1392: checking for Makefile.in in c/src/exec/posix" >&5
    13731392if test -d $srcdir/c/src/exec/posix; then
    13741393  rtems_av_save_dir=`pwd`;
     
    13921411  if test -z "$rtems_bsp"; then
    13931412    echo $ac_n "checking for bsps""... $ac_c" 1>&6
    1394 echo "configure:1395: checking for bsps" >&5
     1413echo "configure:1414: checking for bsps" >&5
    13951414    files=`ls $srcdir/c/src/lib/libbsp/$target_cpu`
    13961415    for file in $files; do
     
    14331452       
    14341453echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir""... $ac_c" 1>&6
    1435 echo "configure:1436: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir" >&5
     1454echo "configure:1455: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir" >&5
    14361455if test -d $srcdir/c/src/lib/libbsp/$target_cpu/$bspdir; then
    14371456  rtems_av_save_dir=`pwd`;
     
    14561475
    14571476echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    1458 echo "configure:1459: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     1477echo "configure:1478: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    14591478if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    14601479  rtems_av_save_dir=`pwd`;
     
    14731492 
    14741493echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    1475 echo "configure:1476: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     1494echo "configure:1495: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    14761495if test -d $srcdir/c/src/lib/start/$target_cpu; then
    14771496  rtems_av_save_dir=`pwd`;
     
    15051524
    15061525
    1507 RTEMS_HOST=$host_os
    15081526RTEMS_ROOT=`cd $srcdir/c; pwd`
    15091527PROJECT_ROOT=`pwd;`
     
    15171535# If the tests are enabled, then find all the test suite Makefiles
    15181536echo $ac_n "checking Are the test suites enabled? ""... $ac_c" 1>&6
    1519 echo "configure:1520: checking Are the test suites enabled? " >&5
     1537echo "configure:1538: checking Are the test suites enabled? " >&5
    15201538tests_enabled=yes
    15211539# Check whether --enable-tests or --disable-tests was given.
     
    15371555   
    15381556echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    1539 echo "configure:1540: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     1557echo "configure:1558: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    15401558if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    15411559  rtems_av_save_dir=`pwd`;
     
    15521570   
    15531571echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    1554 echo "configure:1555: checking for Makefile.in in c/src/tests/libtests" >&5
     1572echo "configure:1573: checking for Makefile.in in c/src/tests/libtests" >&5
    15551573if test -d $srcdir/c/src/tests/libtests; then
    15561574  rtems_av_save_dir=`pwd`;
     
    15671585   
    15681586echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    1569 echo "configure:1570: checking for Makefile.in in c/src/tests/sptests" >&5
     1587echo "configure:1588: checking for Makefile.in in c/src/tests/sptests" >&5
    15701588if test -d $srcdir/c/src/tests/sptests; then
    15711589  rtems_av_save_dir=`pwd`;
     
    15821600   
    15831601echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    1584 echo "configure:1585: checking for Makefile.in in c/src/tests/tmtests" >&5
     1602echo "configure:1603: checking for Makefile.in in c/src/tests/tmtests" >&5
    15851603if test -d $srcdir/c/src/tests/tmtests; then
    15861604  rtems_av_save_dir=`pwd`;
     
    15971615   
    15981616echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    1599 echo "configure:1600: checking for Makefile.in in c/src/tests/mptests" >&5
     1617echo "configure:1618: checking for Makefile.in in c/src/tests/mptests" >&5
    16001618if test -d $srcdir/c/src/tests/mptests; then
    16011619  rtems_av_save_dir=`pwd`;
     
    16131631     
    16141632echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    1615 echo "configure:1616: checking for Makefile.in in c/src/tests/psxtests" >&5
     1633echo "configure:1634: checking for Makefile.in in c/src/tests/psxtests" >&5
    16161634if test -d $srcdir/c/src/tests/psxtests; then
    16171635  rtems_av_save_dir=`pwd`;
     
    16311649# If the HWAPI is enabled, the find the HWAPI Makefiles
    16321650echo $ac_n "checking Is the HWAPI enabled? ""... $ac_c" 1>&6
    1633 echo "configure:1634: checking Is the HWAPI enabled? " >&5
     1651echo "configure:1652: checking Is the HWAPI enabled? " >&5
    16341652# Check whether --enable-hwapi or --disable-hwapi was given.
    16351653if test "${enable_hwapi+set}" = set; then
     
    16401658         
    16411659echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi""... $ac_c" 1>&6
    1642 echo "configure:1643: checking for Makefile.in in c/src/lib/libhwapi" >&5
     1660echo "configure:1661: checking for Makefile.in in c/src/lib/libhwapi" >&5
    16431661if test -d $srcdir/c/src/lib/libhwapi; then
    16441662  rtems_av_save_dir=`pwd`;
     
    16791697
    16801698echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
    1681 echo "configure:1682: checking for Makefile.in in c/build-tools" >&5
     1699echo "configure:1700: checking for Makefile.in in c/build-tools" >&5
    16821700if test -d $srcdir/c/build-tools; then
    16831701  rtems_av_save_dir=`pwd`;
     
    16941712
    16951713echo $ac_n "checking for Makefile.in in c/make""... $ac_c" 1>&6
    1696 echo "configure:1697: checking for Makefile.in in c/make" >&5
     1714echo "configure:1715: checking for Makefile.in in c/make" >&5
    16971715if test -d $srcdir/c/make; then
    16981716  rtems_av_save_dir=`pwd`;
     
    17091727
    17101728echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    1711 echo "configure:1712: checking for Makefile.in in c/src/lib/libmisc" >&5
     1729echo "configure:1730: checking for Makefile.in in c/src/lib/libmisc" >&5
    17121730if test -d $srcdir/c/src/lib/libmisc; then
    17131731  rtems_av_save_dir=`pwd`;
     
    17241742
    17251743echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    1726 echo "configure:1727: checking for Makefile.in in c/src/tests/samples" >&5
     1744echo "configure:1745: checking for Makefile.in in c/src/tests/samples" >&5
    17271745if test -d $srcdir/c/src/tests/samples; then
    17281746  rtems_av_save_dir=`pwd`;
  • configure.in

    r3013e18 r744df795  
    119119dnl a BSP library would be used to link an application.
    120120
     121RTEMS_HOST=$host_os
     122
    121123case "${target}" in
    122124  # hpux unix port should go here
     
    136138        target_cpu=unix
    137139        RTEMS_HAS_POSIX_API=no
     140        RTEMS_HOST=Linux
    138141        ;;
    139142  no_cpu-rtems*)
     
    147150        target_cpu=unix
    148151        RTEMS_HAS_POSIX_API=no
     152        RTEMS_HOST=Solaris
    149153        ;;
    150154  *)
     
    169173
    170174# find all the Executive Makefiles
     175RTEMS_CHECK_MAKEFILE(c/src/exec/score/tools/$target_cpu)
    171176RTEMS_CHECK_MAKEFILE(c/src/exec/rtems)
    172177RTEMS_CHECK_MAKEFILE(c/src/exec/sapi)
     
    259264
    260265dnl RTEMS_BSP=$rtems_bsp
    261 RTEMS_HOST=$host_os
     266dnl RTEMS_HOST=$host_os
    262267RTEMS_ROOT=`cd $srcdir/c; pwd`
    263268PROJECT_ROOT=`pwd;`
Note: See TracChangeset for help on using the changeset viewer.