summaryrefslogtreecommitdiff
path: root/contrib/env-oe.sh
blob: 53a32971f949475be56c6017c8b4eaaa27aa4fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

export OETREE=$(pwd)

OECORE="${OETREE}/layers/openembedded-core"

if [[ ! "${PATH}" =~ ${OETREE}/bitbake/bin ]]; then
    export PATH="${OECORE}/scripts:${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 BUILDDIR="${OETREE}"
export BBPATH="${OETREE}:${OECORE}/meta"
export BB_ENV_EXTRAWHITE="MACHINE DISTRO OETREE TFTPBOOT_DIR TCLIBC TCMODE GIT_PROXY_COMMAND http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS"