Changeset 7590de5 in rtems-graphics-toolkit


Ignore:
Timestamp:
Jan 1, 2014, 1:51:18 PM (6 years ago)
Author:
Chirayu Desai <cdesai@…>
Branches:
master
Children:
4ac0e41
Parents:
d549f67
git-author:
Chirayu Desai <cdesai@…> (01/01/14 13:51:18)
git-committer:
Gedare Bloom <gedare@…> (01/17/14 14:16:46)
Message:

build fltk in another directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • do_it

    rd549f67 r7590de5  
    420420j_nanox()
    421421{
    422   if [ ! -d ${BUILDDIR}/${NANOX} ] ; then
    423     mkdir ${BUILDDIR}/${NANOX}
     422  if [ ! -d ${BUILDDIR}/${NANOX}/src ] ; then
     423    mkdir ${BUILDDIR}/${NANOX}/src
    424424  else
    425     rm -r ${BUILDDIR}/${NANOX}
    426     mkdir ${BUILDDIR}/${NANOX}
    427   fi
    428   cd ${BUILDDIR}/${NANOX}
    429 
    430   cp -r ../../${NANOX}/src/* .
     425    rm -r ${BUILDDIR}/${NANOX}/src
     426    mkdir ${BUILDDIR}/${NANOX}/src
     427  fi
     428  cd ${BUILDDIR}/${NANOX}/src
     429
     430  cp -r ../../../${NANOX}/src/* .
    431431
    432432  # RTEMS_MAKEFILE_PATH inherited
     
    444444  fi
    445445
    446   cd ../..
     446  cd ../../..
    447447}
    448448
     
    494494j_fltk()
    495495{
    496   cd ${FLTK}
     496  if [ ! -d ${BUILDDIR}/${FLTK} ] ; then
     497    mkdir ${BUILDDIR}/${FLTK}
     498  else
     499    rm -r ${BUILDDIR}/${FLTK}
     500    mkdir ${BUILDDIR}/${FLTK}
     501  fi
     502  cd ${BUILDDIR}/${FLTK}
     503
     504  cp -r ../../${FLTK}/* .
    497505
    498506  make distclean
    499507
    500508  CFLAGS="${BSP_CFLAGS} ${CPU_CFLAGS}" \
    501    ./configure --host=${TARGET} --prefix=${PREFIX} \
     509   ../../${FLTK}/configure --host=${TARGET} --prefix=${PREFIX} \
    502510      --includedir="${BSPTOP}/lib/include"  --libdir="${BSPTOP}/lib"\
    503511      --x-includes="${BSPTOP}/lib/include" --x-libraries="${BSPTOP}/lib" \
Note: See TracChangeset for help on using the changeset viewer.