3 SCRIPT_PATH
=`dirname $0`
9 DEST_DIR
="/opt/libcec-rpi"
14 source $SCRIPT_PATH/config
16 $SCRIPT_PATH/get-toolchain.sh
&& \
17 $SCRIPT_PATH/build-deps.sh
&& \
18 $SCRIPT_PATH/bootstrap.sh
$SCRIPT_PATH/toolchain .
21 _set_toolchain_path
"$SCRIPT_PATH/toolchain"
22 # configure with --enable-rpi-cec-api so we bug out if we can't find Pi support or can't build it
23 .
/configure
--host=$TARGET_HOST \
24 --build=`cc -dumpmachine` \
28 --with-rpi-include-path="${SCRIPT_PATH}/firmware/hardfp/opt/vc/include" \
29 --with-rpi-lib-path="${SCRIPT_PATH}/firmware/hardfp/opt/vc/lib" && \