Changeset ce3c789 in rtems-graphics-toolkit


Ignore:
Timestamp:
Jan 11, 2010, 4:06:20 AM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
06b61aa
Parents:
513eea1
Message:

2010-01-10 Joel Sherrill <joel.sherrill@…>

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r513eea1 rce3c789  
     12010-01-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * ORIGIN, README.Microwindows, TODO, VERSIONS, do_it: Add
     4        Microwindows/Nano-X support.
     5
    162010-01-08      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • ORIGIN

    r513eea1 rce3c789  
    99libt1        - (5.1.2)  http://www.t1lib.org/
    1010svgalib      - (1.4.3)  http://svgalib.org/
     11fltk         - (1.1.10) http://www.fltk.org
    1112
    1213FLTK
    1314  svn co http://svn.easysw.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3
    1415
     16
    1517Microwindows/Nano-X
    1618  Soon: Microwindows GIT 
  • README.Microwindows

    r513eea1 rce3c789  
    2222========
    2323
    24   cd microwin/src
    25   cp config config.ship
    26   cp Configs/config.rtems config
     24This assumes you are building from this directory.
     25
    2726  RTEMS_MAKEFILE_PATH=[build directory/prefix]/[target]/[rtemsbsp]/ \
    28     make -f Makefile.rtems clean all
     27    CONFIG=`pwd`/microwin/src/Configs/config.rtems \
     28      make -f Makefile.rtems clean all
     29
     30NOTE: In contrast to previous instructions, you do not have to overwrite
     31      the file src/config. :)
  • TODO

    r513eea1 rce3c789  
    1010
    1111+ BSPs need to have a #define that indicates they have a pointing driver.
     12
     13svgalib
     14=======
     15+ Must configure /dev/null in application
     16+ Must add /dev/mem and configure it in application (or find config option)
     17+ May want to add SVGALIB_CONFIG_FILE
    1218
    1319Nano-X
  • VERSIONS

    r513eea1 rce3c789  
    88T1LIB=t1lib-5.1.2
    99TIFFLIB=tiff-3.9.2
     10NANOX=microwin
  • do_it

    r513eea1 rce3c789  
    3434# Do we build Truetype Font support?
    3535do_ttf="no"
     36
     37# Do we build Microwindows/Nano-X support?
     38do_nanox="no"
    3639# Are we noisy when running?
    3740verbose="no"
     
    4851  -1 - build Adobe Type 1 font support (default=no)
    4952  -T - build Truetype font support (default=no)
     53  -n - build Microwindows/Nano-X support (default=no)
    5054  -c - clean after building (default=no)
    5155  -v - verbose
     
    8387}
    8488
    85 while getopts Ajpt1Tv OPT
     89while getopts Ajpt1Tncv OPT
    8690do
    8791    case "$OPT" in
     
    9195         do_t1="yes"
    9296         do_ttf="yes"
     97         do_nanox="yes"
    9398         ;;
    9499      j) do_jpeg=`toggle ${do_jpeg}` ;;
     
    97102      1) do_t1=`toggle ${do_t1}` ;;
    98103      T) do_ttf=`toggle ${do_ttf}` ;;
     104      n) do_nanox=`toggle ${do_nanox}` ;;
    99105      c) do_clean=`toggle ${do_clean}` ;;
    100106      v) verbose=`toggle ${verbose}` ;;
     
    107113
    108114if [ ${verbose} = yes ] ; then
    109   echo "JPEG Library                : " ${LIBJPEG}
    110   echo "Build JPEG Library          : " ${do_jpeg}
    111   echo "PNG Library                 : " ${LIBPNG}
    112   echo "Build PNG Library           : " ${do_png}
    113   echo "TIFF Library                : " ${TIFFLIB}
    114   echo "Build TIFF Library          : " ${do_tiff}
     115  echo "JPEG Library                    : " ${LIBJPEG}
     116  echo "Build JPEG Library              : " ${do_jpeg}
     117  echo "PNG Library                     : " ${LIBPNG}
     118  echo "Build PNG Library               : " ${do_png}
     119  echo "TIFF Library                    : " ${TIFFLIB}
     120  echo "Build TIFF Library              : " ${do_tiff}
    115121  echo ""
    116   echo "Build TrueType Font Library : " ${do_ttf}
    117   echo "TrueType Font Library       : " ${FREETYPE}
    118   echo "Adobe Type 1 Font Library   : " ${T1LIB}
    119   echo "JPEG Library                : " ${do_t1}
    120   echo "Clean after instal          : " ${do_clean}
     122  echo "Build TrueType Font Library     : " ${do_ttf}
     123  echo "TrueType Font Library           : " ${FREETYPE}
     124  echo "Build Adobe Type 1 Font Library : " ${do_t1}
     125  echo "Adobe Type 1 Font Library       : " ${T1LIB}
     126  echo ""
     127  echo "Build Microwindows/Nano-X       : " ${do_nanox}
     128  echo "Microwindows/Nano-X Source      : " ${NANOX}
     129
     130  echo "Clean after install             : " ${do_clean}
    121131fi
    122132
     
    128138fi
    129139
     140# XXX TBD check if enabled before checking if present?
    130141test -d ${LIBJPEG}
    131142check_status $? "${LIBJPEG} not present"
     
    138149test -d ${TIFFLIB}
    139150check_status $? "${TIFFLIB} not present"
     151test -d ${NANOX}
     152check_status $? "${NANOX} not present"
    140153
    141154test -d ${RTEMS_MAKEFILE_PATH}
     
    316329fi
    317330
     331######### Build and install Nano-X support
     332j_nanox()
     333{
     334  cd ${NANOX}/src
     335
     336  # RTEMS_MAKEFILE_PATH inherited
     337  export RTEMS_MAKEFILE_PATH
     338
     339  make -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems
     340  check_status $? Could not make ${NANOX}
     341
     342  make -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems install
     343  check_status $? Could not make isntall ${NANOX}
     344
     345  if [ ${do_clean} = yes ] ; then
     346    make -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems clean
     347    check_status $? Could not make distclean ${NANOX}
     348  fi
     349
     350  cd ../..
     351}
     352
     353if [ ${do_nanox} = yes ] ; then
     354  echo "Building ${NANOX} ..."
     355  j_nanox >${LOGDIR}/${TARGET}-${NANOX}.log 2>&1
     356fi
     357
    318358exit 0
Note: See TracChangeset for help on using the changeset viewer.