summaryrefslogtreecommitdiff
path: root/contrib/env-oe.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/env-oe.sh')
-rw-r--r--contrib/env-oe.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/env-oe.sh b/contrib/env-oe.sh
new file mode 100644
index 0000000..53a3297
--- /dev/null
+++ b/contrib/env-oe.sh
@@ -0,0 +1,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"