Changes between Version 1 and Version 2 of dev/setup/raspi-cross-builder


Ignore:
Timestamp:
Jul 30, 2012, 10:23:43 AM (8 years ago)
Author:
sam
Comment:

add an autoconf command line example

Legend:

Unmodified
Added
Removed
Modified
  • dev/setup/raspi-cross-builder

    v1 v2  
    1818
    1919{{{
     20#!sh
    2021$RASPI_SDK_ROOT/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin
    2122}}}
    2223
    23 == Configuration ==
     24== Bitten configuration ==
    2425
    25 Add the following section to the bitten machine file:
     26For Lol Engine autobuilders, add the following section to the bitten machine file:
    2627
    2728{{{
     
    2930version = 0
    3031}}}
     32
     33== Building autoconf projects ==
     34
     35For simple autoconf projects (using `./configure ; make`) the following command can now be used:
     36
     37{{{
     38#!sh
     39RASPI_INCLUDES="$RASPI_SDK_ROOT/firmware/opt/vc/include"
     40RASPI_LIBS="$RASPI_SDK_ROOT/firmware/opt/vc/lib"
     41
     42./configure --host=arm-bcm2708hardfp-linux-gnueabi \
     43    CPPFLAGS="-I$RASPI_INCLUDES -I$RASPI_INCLUDES/interface/vcos/pthreads" \
     44    LDFLAGS="-L$RASPI_LIBS"
     45
     46make
     47}}}