#!/usr/bin/env bash

export OETREE=$(pwd)

if [[ ! "${PATH}" =~ ${OETREE}/bitbake/bin ]]; then
    export PATH=${OETREE}/bitbake/bin:${PATH}
fi

# define if you wish to create soft links to the image in the tftpboot dir
#export TFTPBOOT_DIR=/tftpboot

export BBPATH=${OETREE}/build:${OETREE}/openembedded
export BB_ENV_EXTRAWHITE="MACHINE DISTRO OETREE ANGSTROM_MODE ANGSTROMLIBC LIBC TFTPBOOT_DIR"