summaryrefslogtreecommitdiffstats
path: root/scripts/poky-env-internal
AgeCommit message (Collapse)Author
2011-04-20Rename poky-init-build-env to oe-init-build-envRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-21Shift a few env bits into scripts/bitbakeChris Larson
This attempts to separate the bits we *require* to run bitbake with oe-core via the wrapper script, and which are independent of the build environment (PSEUDO_DISABLED, PSEUDO_BUILD, BBFETCH2) from those which are more particular to poky-init-build-env's way of setting things up (e.g. adding MACHINE to BB_ENV_EXTRAWHITE, relying on OEROOT, etc). This should make it easier to use scripts/bitbake with non-standard workflows. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-03-17sanity: detect if bitbake wrapper is not being used or pseudo is brokenPaul Eggleton
* Shows a warning during sanity checking if the scripts/bitbake wrapper is not being used * Check to see if pseudo is working during sanity checking, and if it isn't an error occurs (if we are using the wrapper script and pseudo has been built; otherwise it is a warning). Fixes [YOCTO #653] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-03-03poky-env-internal: Add FETCH2 enablementMark Hatle
We need to enable the new fetch2 implementation out of bitbake. Otherwise we get various errors about SRCPV issues. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-02scripts/poky-env-internal: We set LC_ALL in the core so no need to set LANG ↵Richard Purdie
here now Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-12-20poky-init-build-env: Enable all POSIX shellsMark Hatle
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>
2010-12-20poky-init-build-env: Breakup the environment scriptMark Hatle
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>
2010-12-17bitbake.conf/poky-env-internal: Adjust PSEUDO variables to match pseudo ↵Richard Purdie
enabled/disabled modes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-17poky-env-internal: Search scripts before the bitbake directory so we can ↵Richard Purdie
override bitbake's main script Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-09poky-env-internal: Allow the environment variable POKYCONF to provide the ↵Gary Thomas
basis for the working "conf" directory. By using the POKYCONF variable, a meta layer can provide the basic setup for files to be used during a build. This is similar to the default values stored in the main meta tree, .../meta/conf/local.conf.sample, etc Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-28scripts/poky-env-internal: Further cleanupsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-28scripts/poky-env-internal: Remove unset variablesRichard Purdie
These variables are not on any bitbake environment whitelist so will never make it into the environment. This is legacy code which is not required any more so remove it. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-28scripts/poky-env-internal/image-swab.bbclass: Remove OEROOT referencesRichard Purdie
OEROOT isn't used outside the init script so stop exporting it into the environment where it can "corrupt" sstate packages. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-07Merge runqemu features into poky-qemuScott Garman
This merges the functionality of the runqemu script into poky-qemu. It also removes the requirement to order command line args to poky-qemu in any particular order. This fixes a slew of runqemu-related bugs by making the runqemu script obsolete (and fixing the issues in the new poky-qemu), including [BUGID #294] [BUGID #295] [BUGID #371] and [BUGID #324]. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-10-07Export ALL_PROXY for bitbake commandsDarren Hart
We already export http,ftp,https proxy environment variables. Some environments, GNOME for instance, place the socks proxy in ALL_PROXY and all_proxy. Export it as well. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2010-09-21Wrap output at 80 columns for poky-env-internalDarren Hart
The output of: $ source poky-init-build-env would wrap on 80 character terminals, making the output difficult to read. Replace the somewhat clumsy repeated usage of "echo" with bash here documents, limiting line length to 80 characters. The use of here documents simplifies this by removing any leading commands or indentation from the output being generated. A bash'ism should be acceptable here as poky-init-build-env already aborts if the shell is not bash. Signed-off-by: Darren Hart <darren@dvhart.com>
2010-09-10bitbake: Add proxy variables to standard export listZhai Edwin
With "no_proxy" exported to bitbake, both internal and externel file mirror can be used. "https_proxy" enable fetching "https://" file through proxy. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-08-17build/conf: move sample conf files to meta/confJoshua Lock
Currently rm -fr build breaks things badly but will work if we move the sample configuration files to meta/conf - this patch does so. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-23poky-env-internal: re-add OEROOT to the whitelisted environment variablesJoshua Lock
We don't want Bitbake to clean OEROOT from the environment as users may have old layer configurations which require it set. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-22scripts/poky-env-internal: preserve the git proxy env varNitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-22poky-env-internal: Print some further information for the userRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22poky-env-internal: Cleanup after the recent layer improvementsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22poky-env-internal/runqemu: Move BUILD_SYS handling which is runqemu specific ↵Richard Purdie
into runqemu Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22poky-env-internal: unbreak existing build setupsJoshua Lock
Many users have an existing build confifured using OEROOT, re-enable exporting of this variable to unbreak their builds. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-21Enable build dir outside of the poky directoryJoshua Lock
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>
2010-06-10poky-env-internal: fix a typoJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-10poky-evn-internal: Add some documentation about the config file and commonly ↵Richard Purdie
used build targets Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-14Merge branch 'tk/head' of ssh://git.pokylinux.org/poky-contribRichard Purdie
2010-05-13Revert "poky-env-internal: Disable automatic adding of meta environments to ↵Richard Purdie
BBPATH" This reverts commit ba804d1729640a0587db8ba94bde6018570a8b0c which is a valid change but isn't working for some reason which needs further investigation.
2010-05-13poky-env-internal: unset variables to avoid disturbing new GIT cloneKevin Tian
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-05-12poky-env-internal: Disable automatic adding of meta environments to BBPATHRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22Switch to bblayers configurationRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-14scripts: preserve BB_NUMBER_THREADS when sanitising environmentJoshua Lock
It's pretty useful to be able to define BB_NUMBER_THREADS on the cli when executing bitbake. Add it to the extra whitelist defined in the poky-env-internal script. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-09-18Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow ↵Richard Purdie
environmental variable control Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-27scripts/poky-env-internal: Add BB_SRCREV_POLICY to BB_ENV_WHITELISTRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-12-03scripts/poky-env-internal: Add SSH_AUTH_SOCK and SSH_AGENT_PID to ↵Richard Purdie
BB_ENV_WHITELIST
2008-11-06scripts/poky-env-internal: Fix PATHRichard Purdie
2008-11-06scripts/poky-env-internal: Automatically add in additional meta- ↵Richard Purdie
repositories if found
2008-10-30poky-env-internal: Add quoting to support zsh.Rob Bradford
Patch from Carl Simonson <simonsonc@gmail.com>.
2008-10-28scripts/poky-env-internal: Add POKYMODE to BB_ENV_WHITELISTRichard Purdie
2008-10-28scripts/poky-env-internal: Unset BDIR after useRichard Purdie
2008-10-22scripts/poky-env-internal: Add proxy variables to the enviornment whitelist ↵Richard Purdie
(and OEROOT)
2008-10-21netbook: changed platform name from eee901 to netbookSamuel Ortiz
We want to have a more generic platform definition. The netbook machine one currently supports the eee901 and the aspire one. We also moved the machine and netbook image definitions to meta-moblin.
2008-09-30scripts/poky-env-internal: Add MACHINE, DISTRO and POKYLIBC to the ↵Richard Purdie
environment whitelist for starters git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5348 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-29scripts: Allow passing multiple parameters to the autobuilderRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4370 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11Don't allow custom GConf schema paths to get into the systemRoss Burton
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3750 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-25poky-env-internal: Return in error caseRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17poky-env-internal: fixesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2197 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17poky-env-internal: Allow user to overide build directoryRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2195 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17poky-env-internal: Fix quotingRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2194 311d38ba-8fff-0310-9ca6-ca027cbcb966