summaryrefslogtreecommitdiff
path: root/multitech/contrib/env-oe.sh
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2011-06-28 15:16:57 -0500
committerJesse Gilles <jgilles@multitech.com>2011-06-28 15:16:57 -0500
commitb23d1d80a23e8ce1910ba7c5006a4fddf3325c7d (patch)
tree40a273fff1fab26a90870668e232b4d79b5ea908 /multitech/contrib/env-oe.sh
initial work on multitech bitbake layer for CoreCDP
Diffstat (limited to 'multitech/contrib/env-oe.sh')
-rw-r--r--multitech/contrib/env-oe.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/multitech/contrib/env-oe.sh b/multitech/contrib/env-oe.sh
new file mode 100644
index 0000000..17e37a7
--- /dev/null
+++ b/multitech/contrib/env-oe.sh
@@ -0,0 +1,15 @@
+#!/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"
+
+