From e243c30f04c18722dc65effe6d4f275a3f35de46 Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Tue, 4 Nov 2014 11:51:34 -0600 Subject: initial commit of mLinux layer --- contrib/env-oe.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 contrib/env-oe.sh (limited to 'contrib/env-oe.sh') 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" -- cgit v1.2.3