summaryrefslogtreecommitdiff
path: root/contrib/env-oe.sh
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-11-04 11:51:34 -0600
committerJesse Gilles <jgilles@multitech.com>2014-11-04 11:51:34 -0600
commite243c30f04c18722dc65effe6d4f275a3f35de46 (patch)
tree807610ce8af0ead02681d6c3cc89d902ec941652 /contrib/env-oe.sh
downloadmeta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.tar.gz
meta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.tar.bz2
meta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.zip
initial commit of mLinux layer
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"