Changeset 50d0849 in rtems-graphics-toolkit


Ignore:
Timestamp:
Dec 27, 2013, 5:37:10 PM (5 years ago)
Author:
Chirayu Desai <cdesai@…>
Branches:
master
Children:
d549f67
Parents:
2fcdef5
git-author:
Chirayu Desai <cdesai@…> (12/27/13 17:37:10)
git-committer:
Gedare Bloom <gedare@…> (01/17/14 14:16:46)
Message:

build Microwindows/Nano?-X and libt1 in another directory too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • do_it

    r2fcdef5 r50d0849  
    346346j_t1()
    347347{
    348 #TODO: Build in ${BUILDDIR}
    349   cd ${T1LIB}
    350 
    351   make distclean
    352 
     348  if [ ! -d ${BUILDDIR}/${T1LIB} ] ; then
     349    mkdir ${BUILDDIR}/${T1LIB}
     350  else
     351    rm -r ${BUILDDIR}/${T1LIB}
     352    mkdir ${BUILDDIR}/${T1LIB}
     353  fi
     354  cd ${BUILDDIR}/${T1LIB}
     355
     356  cp -r ../../${T1LIB}/* .
    353357  CFLAGS="${BSP_CFLAGS} ${CPU_CFLAGS}" \
    354      ./configure --host=${TARGET} --prefix=${PREFIX} \
     358     ../../${T1LIB}/configure --host=${TARGET} --prefix=${PREFIX} \
    355359     --includedir=${PREFIX}/lib/include \
    356360     --datadir=${PREFIX}/share \
     
    370374  fi
    371375
    372   cd ..
     376  cd ../..
    373377}
    374378
     
    416420j_nanox()
    417421{
    418 #TODO: Build in ${BUILDDIR}
    419   cd ${NANOX}/src
     422  if [ ! -d ${BUILDDIR}/${NANOX} ] ; then
     423    mkdir ${BUILDDIR}/${NANOX}
     424  else
     425    rm -r ${BUILDDIR}/${NANOX}
     426    mkdir ${BUILDDIR}/${NANOX}
     427  fi
     428  cd ${BUILDDIR}/${NANOX}
     429
     430  cp -r ../../${NANOX}/src/* .
    420431
    421432  # RTEMS_MAKEFILE_PATH inherited
    422433  export RTEMS_MAKEFILE_PATH
    423  
    424   make -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems clean
    425434
    426435  make -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems -k all
     
    447456j_nxlib()
    448457{
    449 #TODO: Build in ${BUILDDIR}
    450   cd ${NXLIB}
     458  if [ ! -d ${BUILDDIR}/${NXLIB} ] ; then
     459    mkdir ${BUILDDIR}/${NXLIB}
     460  else
     461    rm -r ${BUILDDIR}/${NXLIB}
     462    mkdir ${BUILDDIR}/${NXLIB}
     463  fi
     464  cd ${BUILDDIR}/${NXLIB}
     465
     466  cp -r ../../${NXLIB}/* .
    451467
    452468  # RTEMS_MAKEFILE_PATH inherited
     
    466482  fi
    467483
    468   cd ..
     484  cd ../..
    469485}
    470486
Note: See TracChangeset for help on using the changeset viewer.