Changeset 2fcdef5 in rtems-graphics-toolkit


Ignore:
Timestamp:
Dec 25, 2013, 4:46:04 PM (5 years ago)
Author:
Chirayu Desai <cdesai@…>
Branches:
master
Children:
50d0849
Parents:
18343f7
git-author:
Chirayu Desai <cdesai@…> (12/25/13 16:46:04)
git-committer:
Gedare Bloom <gedare@…> (01/17/14 14:16:46)
Message:

build some packages in another directory

The plan is to move all of it to build/ eventually, but
not everything builds currently.
Some don't build even without this change, and some fail
because of this change.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r18343f7 r2fcdef5  
    1212*.i*86
    1313*.x86_64
     14
     15build/
    1416
    1517# TODO: Clean this up later
     
    7375fltk-1.3.0/test/unittests
    7476fltk-1.3.0/test/utf8
    75 freetype-2.4.10/builds/unix/config.log
    76 freetype-2.4.10/builds/unix/config.status
    77 freetype-2.4.10/builds/unix/freetype-config
    78 freetype-2.4.10/builds/unix/freetype2.pc
    79 freetype-2.4.10/builds/unix/ftconfig.h
    80 freetype-2.4.10/builds/unix/libtool
    81 freetype-2.4.10/builds/unix/unix-cc.mk
    82 freetype-2.4.10/builds/unix/unix-def.mk
    83 freetype-2.4.10/config.mk
    84 freetype-2.4.10/objs/.libs/
    85 freetype-2.4.10/objs/apinames
    86 freetype-2.4.10/objs/autofit.lo
    87 freetype-2.4.10/objs/bdf.lo
    88 freetype-2.4.10/objs/cff.lo
    89 freetype-2.4.10/objs/ftbase.lo
    90 freetype-2.4.10/objs/ftbbox.lo
    91 freetype-2.4.10/objs/ftbdf.lo
    92 freetype-2.4.10/objs/ftbitmap.lo
    93 freetype-2.4.10/objs/ftbzip2.lo
    94 freetype-2.4.10/objs/ftcache.lo
    95 freetype-2.4.10/objs/ftcid.lo
    96 freetype-2.4.10/objs/ftdebug.lo
    97 freetype-2.4.10/objs/ftexport.sym
    98 freetype-2.4.10/objs/ftfstype.lo
    99 freetype-2.4.10/objs/ftgasp.lo
    100 freetype-2.4.10/objs/ftglyph.lo
    101 freetype-2.4.10/objs/ftgxval.lo
    102 freetype-2.4.10/objs/ftgzip.lo
    103 freetype-2.4.10/objs/ftinit.lo
    104 freetype-2.4.10/objs/ftlcdfil.lo
    105 freetype-2.4.10/objs/ftlzw.lo
    106 freetype-2.4.10/objs/ftmm.lo
    107 freetype-2.4.10/objs/ftmodule.h
    108 freetype-2.4.10/objs/ftotval.lo
    109 freetype-2.4.10/objs/ftpatent.lo
    110 freetype-2.4.10/objs/ftpfr.lo
    111 freetype-2.4.10/objs/ftstroke.lo
    112 freetype-2.4.10/objs/ftsynth.lo
    113 freetype-2.4.10/objs/ftsystem.lo
    114 freetype-2.4.10/objs/fttype1.lo
    115 freetype-2.4.10/objs/ftwinfnt.lo
    116 freetype-2.4.10/objs/ftxf86.lo
    117 freetype-2.4.10/objs/libfreetype.la
    118 freetype-2.4.10/objs/pcf.lo
    119 freetype-2.4.10/objs/pfr.lo
    120 freetype-2.4.10/objs/psaux.lo
    121 freetype-2.4.10/objs/pshinter.lo
    122 freetype-2.4.10/objs/psnames.lo
    123 freetype-2.4.10/objs/raster.lo
    124 freetype-2.4.10/objs/sfnt.lo
    125 freetype-2.4.10/objs/smooth.lo
    126 freetype-2.4.10/objs/truetype.lo
    127 freetype-2.4.10/objs/type1.lo
    128 freetype-2.4.10/objs/type1cid.lo
    129 freetype-2.4.10/objs/type42.lo
    130 freetype-2.4.10/objs/winfnt.lo
    131 jpeg-8d/.deps/
    132 jpeg-8d/.libs/
    133 jpeg-8d/Makefile
    134 jpeg-8d/config.log
    135 jpeg-8d/config.status
    136 jpeg-8d/jaricom.lo
    137 jpeg-8d/jcapimin.lo
    138 jpeg-8d/jcapistd.lo
    139 jpeg-8d/jcarith.lo
    140 jpeg-8d/jccoefct.lo
    141 jpeg-8d/jccolor.lo
    142 jpeg-8d/jcdctmgr.lo
    143 jpeg-8d/jchuff.lo
    144 jpeg-8d/jcinit.lo
    145 jpeg-8d/jcmainct.lo
    146 jpeg-8d/jcmarker.lo
    147 jpeg-8d/jcmaster.lo
    148 jpeg-8d/jcomapi.lo
    149 jpeg-8d/jconfig.h
    150 jpeg-8d/jcparam.lo
    151 jpeg-8d/jcprepct.lo
    152 jpeg-8d/jcsample.lo
    153 jpeg-8d/jctrans.lo
    154 jpeg-8d/jdapimin.lo
    155 jpeg-8d/jdapistd.lo
    156 jpeg-8d/jdarith.lo
    157 jpeg-8d/jdatadst.lo
    158 jpeg-8d/jdatasrc.lo
    159 jpeg-8d/jdcoefct.lo
    160 jpeg-8d/jdcolor.lo
    161 jpeg-8d/jddctmgr.lo
    162 jpeg-8d/jdhuff.lo
    163 jpeg-8d/jdinput.lo
    164 jpeg-8d/jdmainct.lo
    165 jpeg-8d/jdmarker.lo
    166 jpeg-8d/jdmaster.lo
    167 jpeg-8d/jdmerge.lo
    168 jpeg-8d/jdpostct.lo
    169 jpeg-8d/jdsample.lo
    170 jpeg-8d/jdtrans.lo
    171 jpeg-8d/jerror.lo
    172 jpeg-8d/jfdctflt.lo
    173 jpeg-8d/jfdctfst.lo
    174 jpeg-8d/jfdctint.lo
    175 jpeg-8d/jidctflt.lo
    176 jpeg-8d/jidctfst.lo
    177 jpeg-8d/jidctint.lo
    178 jpeg-8d/jmemmgr.lo
    179 jpeg-8d/jmemnobs.lo
    180 jpeg-8d/jquant1.lo
    181 jpeg-8d/jquant2.lo
    182 jpeg-8d/jutils.lo
    183 jpeg-8d/libjpeg.la
    184 jpeg-8d/libtool
    185 jpeg-8d/stamp-h1
    186 libpng-1.5.12/.deps/
    187 libpng-1.5.12/.libs/
    188 libpng-1.5.12/Makefile
    189 libpng-1.5.12/config.h
    190 libpng-1.5.12/config.log
    191 libpng-1.5.12/config.status
    192 libpng-1.5.12/libpng-config
    193 libpng-1.5.12/libpng.pc
    194 libpng-1.5.12/libpng.vers
    195 libpng-1.5.12/libpng15-config
    196 libpng-1.5.12/libpng15.la
    197 libpng-1.5.12/libpng15.pc
    198 libpng-1.5.12/libpng15_la-png.lo
    199 libpng-1.5.12/libpng15_la-pngerror.lo
    200 libpng-1.5.12/libpng15_la-pngget.lo
    201 libpng-1.5.12/libpng15_la-pngmem.lo
    202 libpng-1.5.12/libpng15_la-pngpread.lo
    203 libpng-1.5.12/libpng15_la-pngread.lo
    204 libpng-1.5.12/libpng15_la-pngrio.lo
    205 libpng-1.5.12/libpng15_la-pngrtran.lo
    206 libpng-1.5.12/libpng15_la-pngrutil.lo
    207 libpng-1.5.12/libpng15_la-pngset.lo
    208 libpng-1.5.12/libpng15_la-pngtrans.lo
    209 libpng-1.5.12/libpng15_la-pngwio.lo
    210 libpng-1.5.12/libpng15_la-pngwrite.lo
    211 libpng-1.5.12/libpng15_la-pngwtran.lo
    212 libpng-1.5.12/libpng15_la-pngwutil.lo
    213 libpng-1.5.12/libtool
    214 libpng-1.5.12/pnglibconf.dfn
    215 libpng-1.5.12/pnglibconf.h
    216 libpng-1.5.12/stamp-h1
    21777t1lib-5.1.2/Makefile
    21878t1lib-5.1.2/config.log
     
    264124t1lib-5.1.2/type1afm/type1afm
    265125t1lib-5.1.2/type1afm/type1afm.lo
    266 tiff-4.0.2/Makefile
    267 tiff-4.0.2/build/Makefile
    268 tiff-4.0.2/config.log
    269 tiff-4.0.2/config.status
    270 tiff-4.0.2/contrib/Makefile
    271 tiff-4.0.2/contrib/addtiffo/.deps/
    272 tiff-4.0.2/contrib/addtiffo/Makefile
    273 tiff-4.0.2/contrib/addtiffo/addtiffo
    274 tiff-4.0.2/contrib/dbs/.deps/
    275 tiff-4.0.2/contrib/dbs/Makefile
    276 tiff-4.0.2/contrib/dbs/tiff-bi
    277 tiff-4.0.2/contrib/dbs/tiff-grayscale
    278 tiff-4.0.2/contrib/dbs/tiff-palette
    279 tiff-4.0.2/contrib/dbs/tiff-rgb
    280 tiff-4.0.2/contrib/dbs/xtiff/Makefile
    281 tiff-4.0.2/contrib/iptcutil/.deps/
    282 tiff-4.0.2/contrib/iptcutil/Makefile
    283 tiff-4.0.2/contrib/iptcutil/iptcutil
    284 tiff-4.0.2/contrib/mfs/Makefile
    285 tiff-4.0.2/contrib/pds/Makefile
    286 tiff-4.0.2/contrib/ras/Makefile
    287 tiff-4.0.2/contrib/stream/Makefile
    288 tiff-4.0.2/contrib/tags/Makefile
    289 tiff-4.0.2/contrib/win_dib/Makefile
    290 tiff-4.0.2/html/Makefile
    291 tiff-4.0.2/html/images/Makefile
    292 tiff-4.0.2/html/man/Makefile
    293 tiff-4.0.2/libtiff-4.pc
    294 tiff-4.0.2/libtiff/.deps/
    295 tiff-4.0.2/libtiff/.libs/
    296 tiff-4.0.2/libtiff/Makefile
    297 tiff-4.0.2/libtiff/libtiff.la
    298 tiff-4.0.2/libtiff/libtiffxx.la
    299 tiff-4.0.2/libtiff/mkg3states
    300 tiff-4.0.2/libtiff/stamp-h1
    301 tiff-4.0.2/libtiff/stamp-h2
    302 tiff-4.0.2/libtiff/tif_aux.lo
    303 tiff-4.0.2/libtiff/tif_close.lo
    304 tiff-4.0.2/libtiff/tif_codec.lo
    305 tiff-4.0.2/libtiff/tif_color.lo
    306 tiff-4.0.2/libtiff/tif_compress.lo
    307 tiff-4.0.2/libtiff/tif_config.h
    308 tiff-4.0.2/libtiff/tif_dir.lo
    309 tiff-4.0.2/libtiff/tif_dirinfo.lo
    310 tiff-4.0.2/libtiff/tif_dirread.lo
    311 tiff-4.0.2/libtiff/tif_dirwrite.lo
    312 tiff-4.0.2/libtiff/tif_dumpmode.lo
    313 tiff-4.0.2/libtiff/tif_error.lo
    314 tiff-4.0.2/libtiff/tif_extension.lo
    315 tiff-4.0.2/libtiff/tif_fax3.lo
    316 tiff-4.0.2/libtiff/tif_fax3sm.lo
    317 tiff-4.0.2/libtiff/tif_flush.lo
    318 tiff-4.0.2/libtiff/tif_getimage.lo
    319 tiff-4.0.2/libtiff/tif_jbig.lo
    320 tiff-4.0.2/libtiff/tif_jpeg.lo
    321 tiff-4.0.2/libtiff/tif_jpeg_12.lo
    322 tiff-4.0.2/libtiff/tif_luv.lo
    323 tiff-4.0.2/libtiff/tif_lzma.lo
    324 tiff-4.0.2/libtiff/tif_lzw.lo
    325 tiff-4.0.2/libtiff/tif_next.lo
    326 tiff-4.0.2/libtiff/tif_ojpeg.lo
    327 tiff-4.0.2/libtiff/tif_open.lo
    328 tiff-4.0.2/libtiff/tif_packbits.lo
    329 tiff-4.0.2/libtiff/tif_pixarlog.lo
    330 tiff-4.0.2/libtiff/tif_predict.lo
    331 tiff-4.0.2/libtiff/tif_print.lo
    332 tiff-4.0.2/libtiff/tif_read.lo
    333 tiff-4.0.2/libtiff/tif_stream.lo
    334 tiff-4.0.2/libtiff/tif_strip.lo
    335 tiff-4.0.2/libtiff/tif_swab.lo
    336 tiff-4.0.2/libtiff/tif_thunder.lo
    337 tiff-4.0.2/libtiff/tif_tile.lo
    338 tiff-4.0.2/libtiff/tif_unix.lo
    339 tiff-4.0.2/libtiff/tif_version.lo
    340 tiff-4.0.2/libtiff/tif_warning.lo
    341 tiff-4.0.2/libtiff/tif_write.lo
    342 tiff-4.0.2/libtiff/tif_zip.lo
    343 tiff-4.0.2/libtiff/tiffconf.h
    344 tiff-4.0.2/libtool
    345 tiff-4.0.2/man/Makefile
    346 tiff-4.0.2/port/.deps/
    347 tiff-4.0.2/port/.libs/
    348 tiff-4.0.2/port/Makefile
    349 tiff-4.0.2/port/dummy.lo
    350 tiff-4.0.2/port/lfind.lo
    351 tiff-4.0.2/port/libport.la
    352 tiff-4.0.2/test/.deps/
    353 tiff-4.0.2/test/Makefile
    354 tiff-4.0.2/tools/.deps/
    355 tiff-4.0.2/tools/Makefile
    356 tiff-4.0.2/tools/bmp2tiff
    357 tiff-4.0.2/tools/fax2ps
    358 tiff-4.0.2/tools/fax2tiff
    359 tiff-4.0.2/tools/gif2tiff
    360 tiff-4.0.2/tools/pal2rgb
    361 tiff-4.0.2/tools/ppm2tiff
    362 tiff-4.0.2/tools/ras2tiff
    363 tiff-4.0.2/tools/raw2tiff
    364 tiff-4.0.2/tools/rgb2ycbcr
    365 tiff-4.0.2/tools/thumbnail
    366 tiff-4.0.2/tools/tiff2bw
    367 tiff-4.0.2/tools/tiff2pdf
    368 tiff-4.0.2/tools/tiff2ps
    369 tiff-4.0.2/tools/tiff2rgba
    370 tiff-4.0.2/tools/tiffcmp
    371 tiff-4.0.2/tools/tiffcp
    372 tiff-4.0.2/tools/tiffcrop
    373 tiff-4.0.2/tools/tiffdither
    374 tiff-4.0.2/tools/tiffdump
    375 tiff-4.0.2/tools/tiffinfo
    376 tiff-4.0.2/tools/tiffmedian
    377 tiff-4.0.2/tools/tiffset
    378 tiff-4.0.2/tools/tiffsplit
  • do_it

    r18343f7 r2fcdef5  
    227227  mkdir ${LOGDIR}
    228228fi
    229 #########
     229#########
     230
     231######### Build Directory
     232BUILDDIR=${BASEDIR}/build
     233if [ ! -d ${BUILDDIR} ] ; then
     234  mkdir ${BUILDDIR}
     235fi
     236#########
    230237
    231238######### Build and install JPEG
    232239j_jpeg()
    233240{
    234   cd ${LIBJPEG}
    235  
     241  if [ ! -d ${BUILDDIR}/${LIBJPEG} ] ; then
     242    mkdir ${BUILDDIR}/${LIBJPEG}
     243  fi
     244  cd ${BUILDDIR}/${LIBJPEG}
     245
    236246  make distclean
    237  
     247
    238248  CFLAGS="${CPU_CFLAGS}" \
    239      ./configure --host=${TARGET} --prefix=${PREFIX} \
     249     ../../${LIBJPEG}/configure --host=${TARGET} --prefix=${PREFIX} \
    240250     --includedir=${PREFIX}/lib/include \
    241251     --disable-shared \
     
    254264  fi
    255265
    256   cd ..
     266  cd ../..
    257267}
    258268
     
    265275j_png()
    266276{
    267   cd ${LIBPNG}
    268  
     277  if [ ! -d ${BUILDDIR}/${LIBPNG} ] ; then
     278    mkdir ${BUILDDIR}/${LIBPNG}
     279  fi
     280  cd ${BUILDDIR}/${LIBPNG}
     281
    269282  make distclean
    270  
    271  
     283
    272284  CFLAGS="${BSP_CFLAGS} ${CPU_CFLAGS}" \
    273      ./configure --host=${TARGET} --prefix=${PREFIX} \
     285     ../../${LIBPNG}/configure --host=${TARGET} --prefix=${PREFIX} \
    274286     --includedir=${PREFIX}/lib/include \
    275287     --libdir=${PREFIX}/lib \
     
    288300  fi
    289301
    290   cd ..
     302  cd ../..
    291303}
    292304
     
    299311j_tiff()
    300312{
    301   cd ${TIFFLIB}
    302  
     313  if [ ! -d ${BUILDDIR}/${TIFFLIB} ] ; then
     314    mkdir ${BUILDDIR}/${TIFFLIB}
     315  fi
     316  cd ${BUILDDIR}/${TIFFLIB}
     317
    303318  make distclean
    304  
     319
    305320  CFLAGS="${CPU_CFLAGS}" \
    306      ./configure --host=${TARGET} --prefix=${PREFIX} \
     321     ../../${TIFFLIB}/configure --host=${TARGET} --prefix=${PREFIX} \
    307322     --includedir=${PREFIX}/lib/include \
    308323     --disable-shared
     
    320335  fi
    321336
    322   cd ..
     337  cd ../..
    323338}
    324339
     
    331346j_t1()
    332347{
     348#TODO: Build in ${BUILDDIR}
    333349  cd ${T1LIB}
    334  
     350
    335351  make distclean
    336  
     352
    337353  CFLAGS="${BSP_CFLAGS} ${CPU_CFLAGS}" \
    338354     ./configure --host=${TARGET} --prefix=${PREFIX} \
     
    365381j_ttf()
    366382{
    367   cd ${FREETYPE}
    368  
     383  if [ ! -d ${BUILDDIR}/${FREETYPE} ] ; then
     384    mkdir ${BUILDDIR}/${FREETYPE}
     385  fi
     386  cd ${BUILDDIR}/${FREETYPE}
     387
    369388  make distclean
    370  
     389
    371390  CFLAGS="${BSP_CFLAGS} ${CPU_CFLAGS}" \
    372      ./configure --host=${TARGET} --prefix=${PREFIX} \
     391     ../../${FREETYPE}/configure --host=${TARGET} --prefix=${PREFIX} \
    373392     --includedir=${PREFIX}/lib/include \
    374393     --disable-shared
     
    386405  fi
    387406
    388   cd ..
     407  cd ../..
    389408}
    390409
     
    397416j_nanox()
    398417{
     418#TODO: Build in ${BUILDDIR}
    399419  cd ${NANOX}/src
    400420
     
    427447j_nxlib()
    428448{
     449#TODO: Build in ${BUILDDIR}
    429450  cd ${NXLIB}
    430451
     
    458479{
    459480  cd ${FLTK}
    460  
     481
    461482  make distclean
    462  
     483
    463484  CFLAGS="${BSP_CFLAGS} ${CPU_CFLAGS}" \
    464485   ./configure --host=${TARGET} --prefix=${PREFIX} \
Note: See TracChangeset for help on using the changeset viewer.