summaryrefslogtreecommitdiff
path: root/scripts/poky-env-internal
Commit message (Collapse)AuthorAgeFilesLines
* poky-env-internal: Allow the environment variable POKYCONF to provide the ↵Gary Thomas2010-12-091-0/+18
| | | | | | | | | | | 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>
* scripts/poky-env-internal: Further cleanupsRichard Purdie2010-11-281-8/+9
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/poky-env-internal: Remove unset variablesRichard Purdie2010-11-281-10/+0
| | | | | | | 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>
* scripts/poky-env-internal/image-swab.bbclass: Remove OEROOT referencesRichard Purdie2010-11-281-3/+3
| | | | | | | 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>
* Merge runqemu features into poky-qemuScott Garman2010-10-071-1/+1
| | | | | | | | | | | | 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>
* Export ALL_PROXY for bitbake commandsDarren Hart2010-10-071-1/+1
| | | | | | | | 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>
* Wrap output at 80 columns for poky-env-internalDarren Hart2010-09-211-21/+35
| | | | | | | | | | | | | | | 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>
* bitbake: Add proxy variables to standard export listZhai Edwin2010-09-101-1/+1
| | | | | | | 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>
* build/conf: move sample conf files to meta/confJoshua Lock2010-08-171-2/+2
| | | | | | | 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>
* poky-env-internal: re-add OEROOT to the whitelisted environment variablesJoshua Lock2010-07-231-1/+1
| | | | | | | 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>
* scripts/poky-env-internal: preserve the git proxy env varNitin A Kamble2010-07-221-1/+1
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* poky-env-internal: Print some further information for the userRichard Purdie2010-07-221-1/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-env-internal: Cleanup after the recent layer improvementsRichard Purdie2010-07-221-40/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-env-internal/runqemu: Move BUILD_SYS handling which is runqemu specific ↵Richard Purdie2010-07-221-5/+1
| | | | | | into runqemu Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-env-internal: unbreak existing build setupsJoshua Lock2010-07-221-1/+1
| | | | | | | 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>
* Enable build dir outside of the poky directoryJoshua Lock2010-07-211-18/+31
| | | | | | | | | | | | | | | | | | 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-env-internal: fix a typoJoshua Lock2010-06-101-1/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* poky-evn-internal: Add some documentation about the config file and commonly ↵Richard Purdie2010-06-101-1/+13
| | | | | | used build targets Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Merge branch 'tk/head' of ssh://git.pokylinux.org/poky-contribRichard Purdie2010-05-141-0/+4
|\
| * poky-env-internal: unset variables to avoid disturbing new GIT cloneKevin Tian2010-05-131-0/+4
| | | | | | | | Signed-off-by Kevin Tian <kevin.tian@intel.com>
* | Revert "poky-env-internal: Disable automatic adding of meta environments to ↵Richard Purdie2010-05-131-1/+1
|/ | | | | | | BBPATH" This reverts commit ba804d1729640a0587db8ba94bde6018570a8b0c which is a valid change but isn't working for some reason which needs further investigation.
* poky-env-internal: Disable automatic adding of meta environments to BBPATHRichard Purdie2010-05-121-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Switch to bblayers configurationRichard Purdie2010-03-221-1/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts: preserve BB_NUMBER_THREADS when sanitising environmentJoshua Lock2009-12-141-1/+1
| | | | | | | | 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>
* Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow ↵Richard Purdie2009-09-181-1/+1
| | | | | | environmental variable control Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/poky-env-internal: Add BB_SRCREV_POLICY to BB_ENV_WHITELISTRichard Purdie2009-05-271-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/poky-env-internal: Add SSH_AUTH_SOCK and SSH_AGENT_PID to ↵Richard Purdie2008-12-031-1/+1
| | | | BB_ENV_WHITELIST
* scripts/poky-env-internal: Fix PATHRichard Purdie2008-11-061-2/+2
|
* scripts/poky-env-internal: Automatically add in additional meta- ↵Richard Purdie2008-11-061-19/+45
| | | | repositories if found
* poky-env-internal: Add quoting to support zsh.Rob Bradford2008-10-301-1/+1
| | | | Patch from Carl Simonson <simonsonc@gmail.com>.
* scripts/poky-env-internal: Add POKYMODE to BB_ENV_WHITELISTRichard Purdie2008-10-281-1/+1
|
* scripts/poky-env-internal: Unset BDIR after useRichard Purdie2008-10-281-0/+2
|
* scripts/poky-env-internal: Add proxy variables to the enviornment whitelist ↵Richard Purdie2008-10-221-1/+1
| | | | (and OEROOT)
* netbook: changed platform name from eee901 to netbookSamuel Ortiz2008-10-211-0/+4
| | | | | | 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.
* scripts/poky-env-internal: Add MACHINE, DISTRO and POKYLIBC to the ↵Richard Purdie2008-09-301-1/+3
| | | | | | environment whitelist for starters git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5348 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Allow passing multiple parameters to the autobuilderRichard Purdie2008-04-291-5/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4370 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Don't allow custom GConf schema paths to get into the systemRoss Burton2008-02-111-0/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3750 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-env-internal: Return in error caseRichard Purdie2007-07-251-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-env-internal: fixesRichard Purdie2007-07-171-1/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2197 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-env-internal: Allow user to overide build directoryRichard Purdie2007-07-171-1/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2195 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-env-internal: Fix quotingRichard Purdie2007-07-171-11/+11
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2194 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-env-internal: Revert accidental commitRichard Purdie2007-07-051-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2122 311d38ba-8fff-0310-9ca6-ca027cbcb966
* runqemu: Use pda image if sdk image not available for qemu machinesRichard Purdie2007-07-051-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2120 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Unset PYTHONPATH otherwise Python really breaksRoss Burton2007-06-021-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1848 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Update copyrightRichard Purdie2007-05-161-4/+3
| | | | 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-0/+77
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