summaryrefslogtreecommitdiffstats
path: root/poky-init-build-env
Commit message (Collapse)AuthorAgeFilesLines
* poky-init-build-env: unset BBPATHOtavio Salvador2011-01-181-0/+1
| | | | | | | | | | When using OpenEmbedded and Yocto I had it previously set to OE and this made bitbake to get confused. This was difficult to figure out and then it seems safer and cleaner if the script unset it to avoid this confusing behaviour. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-init-build-env: Enable all POSIX shellsMark Hatle2010-12-201-4/+12
| | | | | | | | | | | | Update the script so that it will work in more then just bash. If bash is not used, it will assume the PWD is the Poky location. (This is because BASH_SOURCE is a bash-ism, and equivalent functionality is not available in other shells). This has been verified with dash (see comment in the code), ksh, zsh and of course bash. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* poky-init-build-env: Breakup the environment scriptMark Hatle2010-12-201-1/+7
| | | | | | | | | | Break up the scripts/poky-env-internal into two parts: 1) Chunk that is sourced and sets up the environment 2) Chunk that is executed and configures the build directory OEROOT configuration was moved into the initial poky-init-build-env script. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* poky-init-build-env: Fix to show the error message with simple sh based shellsRichard Purdie2010-11-131-4/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Enable build dir outside of the poky directoryJoshua Lock2010-07-211-1/+3
| | | | | | | | | | | | | | | | | | 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 <<later, in a different shell>> $ 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 <josh@linux.intel.com>
* poky-init-build-env: Remove now unneeded returnRichard Purdie2009-11-261-1/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-init-build-env: Update for BASH 4 Bourne Shell semanticsJoe MacDonald2009-11-121-1/+2
| | | | | | | | | | It's no longer valid in bash 4 when invoked with Bourne Shell semantics to return unless you're inside a sourced script or a function. Doing so in this context doesn't actually exit from the setup script. This should probably preserve the original intent. Signed-off-by: Joe MacDonald <joe@deserted.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-init-build-env: Don't exit from sourced scripts, returnRichard Purdie2007-07-251-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2227 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Update copyrightRichard Purdie2007-05-161-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1734 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Move main contents of poky-init-build-env to ↵Richard Purdie2006-11-231-56/+1
| | | | | | scripts/poky-env-internal. Add poky-autobuild script for autobuilder use. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@948 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-init-build-env: Add scripts dir to the PATH, export BUILDDIR and ↵Richard Purdie2006-11-171-2/+6
| | | | | | OEROOT, add BUILD_SYS variable git-svn-id: https://svn.o-hand.com/repos/poky/trunk@866 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename the supplied default local.conf to local.conf.sample, per mallum's ↵Chris Larson2006-08-291-0/+4
| | | | | | request. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@671 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-init-build-env: add $HOME/.pokyChris Larson2006-08-281-5/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@668 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-init-build-env: add $HOME/.oe to BBPATH, for setting a per user ↵Chris Larson2006-08-281-3/+10
| | | | | | conf/site.conf for settings common to all build dirs. unset TERMINFO to avoid glibc pulling in the user's terminal information files. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@667 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Directly make use of the OEROOT environment variable in the default ↵Chris Larson2006-08-271-7/+1
| | | | | | local.conf, and set TMPDIR explicitly to avoid the requirement that one run bitbake from the build directory. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@650 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add GPL/Copyright to poky-init-build-env scriptMatthew Allum2006-07-251-0/+19
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@553 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add a check for sourcing present when running poky-init-build-envMatthew Allum2006-07-211-2/+11
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@541 311d38ba-8fff-0310-9ca6-ca027cbcb966
* renameMatthew Allum2006-07-211-0/+49
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@537 311d38ba-8fff-0310-9ca6-ca027cbcb966