#!/bin/bash

export CFLAGS="--sysroot=/opt/poky/1.5+gst/sysroots/x86_64-linux/usr/bin/cortexa9-vfp-neon-poky-linux-gnueabi"
export LDFLAGS="--sysroot=/opt/poky/1.5+gst/sysroots/x86_64-linux/usr/bin/cortexa9-vfp-neon-poky-linux-gnueabi"
export CC="/opt/poky/1.5+gst/sysroots/x86_64-linux/usr/bin/cortexa9-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc"
export PKG_CONFIG_PATH="/opt/poky/1.5+gst/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR="/opt/poky/1.5+gst/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi"
export PATH="/opt/poky/1.5+gst/sysroots/x86_64-linux/usr/bin:${PATH}"
#./waf configure --kernel-headers=/opt/poky/1.5+gst/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/src/kernel/include/build
