From 971907567cff64e74f21d349d6751dadc8c09827 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 21 Jul 2010 14:55:39 +0100 Subject: Enable build dir outside of the poky directory You need to first set up the build directory by sourcing the poky build script, after that builds can be run in that directory so long as bitbake is in $PATH removing the need to source the init script for each build. i.e: $ . poky-init-build-env ~/my-build $ bitbake some-image <> $ cd ~/my-build $ export PATH=/path/to/bitbake/bin:$PATH $ bitbake an-image This patch also removes use of OEROOT in recipes, etc. Signed-off-by: Joshua Lock --- build/conf/site.conf.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/conf/site.conf.sample') diff --git a/build/conf/site.conf.sample b/build/conf/site.conf.sample index 060dca087c..42042042f7 100644 --- a/build/conf/site.conf.sample +++ b/build/conf/site.conf.sample @@ -20,7 +20,7 @@ SCONF_VERSION = "1" # although this only works for http #GIT_PROXY_HOST = "proxy.example.com" #GIT_PROXY_PORT = "81" -#export GIT_PROXY_COMMAND = "${OEROOT}/scripts/poky-git-proxy-command" +#export GIT_PROXY_COMMAND = "${POKYBASE}/scripts/poky-git-proxy-command" # GIT_PROXY_IGNORE_* lines define hosts which do not require a proxy to access #GIT_CORE_CONFIG = "Yes" @@ -32,7 +32,7 @@ SCONF_VERSION = "1" # and then share that binary somewhere in PATH, then use the following settings #GIT_PROXY_HOST = "proxy.example.com" #GIT_PROXY_PORT = "81" -#export GIT_PROXY_COMMAND = "${OEROOT}/scripts/poky-git-proxy-socks-command" +#export GIT_PROXY_COMMAND = "${POKYBASE}/scripts/poky-git-proxy-socks-command" # Uncomment this to use a shared download directory -- cgit v1.2.3-54-g00ecf