Commit Graph

31 Commits

Author SHA1 Message Date
Joshua Lock 971907567c 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
<<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-07-21 15:39:53 +01:00
Joshua Lock 453ee8d573 poky-env-internal: fix a typo
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-10 15:59:11 +01:00
Richard Purdie d92a12f761 poky-evn-internal: Add some documentation about the config file and commonly used build targets
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-10 15:51:36 +01:00
Richard Purdie a722741e32 Merge branch 'tk/head' of ssh://git.pokylinux.org/poky-contrib 2010-05-14 06:36:56 +08:00
Richard Purdie ad136ddeef Revert "poky-env-internal: Disable automatic adding of meta environments to BBPATH"
This reverts commit ba804d1729 which is a valid
change but isn't working for some reason which needs further investigation.
2010-05-13 17:07:17 +08:00
Kevin Tian 5a3f17ee6b poky-env-internal: unset variables to avoid disturbing new GIT clone
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-05-13 16:27:01 +08:00
Richard Purdie ba804d1729 poky-env-internal: Disable automatic adding of meta environments to BBPATH
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-12 15:28:54 +08:00
Richard Purdie 90040ce7b5 Switch to bblayers configuration
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-22 18:11:41 +00:00
Joshua Lock ceb91f7b2b scripts: preserve BB_NUMBER_THREADS when sanitising environment
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-12-14 17:46:59 +00:00
Richard Purdie 1d4f93e8f6 Add SDKMACHINE to simplify SDK control and add to CACHE paths to allow environmental variable control
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-18 10:01:33 +01:00
Richard Purdie 05a296b204 scripts/poky-env-internal: Add BB_SRCREV_POLICY to BB_ENV_WHITELIST
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-27 23:18:45 +01:00
Richard Purdie a8b0e8a034 scripts/poky-env-internal: Add SSH_AUTH_SOCK and SSH_AGENT_PID to BB_ENV_WHITELIST 2008-12-03 15:41:54 +00:00
Richard Purdie 1e967ea93e scripts/poky-env-internal: Fix PATH 2008-11-06 15:21:36 +00:00
Richard Purdie 9715260c35 scripts/poky-env-internal: Automatically add in additional meta- repositories if found 2008-11-06 14:40:30 +00:00
Rob Bradford 0dc1dc4fbb poky-env-internal: Add quoting to support zsh.
Patch from Carl Simonson <simonsonc@gmail.com>.
2008-10-30 11:14:24 +00:00
Richard Purdie db140d9ce0 scripts/poky-env-internal: Add POKYMODE to BB_ENV_WHITELIST 2008-10-28 22:10:45 +00:00
Richard Purdie 23f08fdde3 scripts/poky-env-internal: Unset BDIR after use 2008-10-28 10:01:03 +00:00
Richard Purdie 4329a29db5 scripts/poky-env-internal: Add proxy variables to the enviornment whitelist (and OEROOT) 2008-10-22 21:56:30 +01:00
Samuel Ortiz e5c53ce035 netbook: changed platform name from eee901 to netbook
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-10-21 16:01:02 +02:00
Richard Purdie f0e249f5eb scripts/poky-env-internal: Add MACHINE, DISTRO and POKYLIBC to the environment whitelist for starters
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5348 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:00:37 +00:00
Richard Purdie 5d5fab77cf scripts: Allow passing multiple parameters to the autobuilder
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4370 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-29 17:12:25 +00:00
Ross Burton 251ff09c88 Don't allow custom GConf schema paths to get into the system
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3750 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 16:40:15 +00:00
Richard Purdie 3b53e52a7e poky-env-internal: Return in error case
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2225 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-25 10:37:56 +00:00
Richard Purdie 7d44fdb7dc poky-env-internal: fixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2197 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17 14:42:16 +00:00
Richard Purdie 854a97c641 poky-env-internal: Allow user to overide build directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2195 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17 13:29:36 +00:00
Richard Purdie 21b7fabf6a poky-env-internal: Fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2194 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-17 13:26:55 +00:00
Richard Purdie 2abccca834 poky-env-internal: Revert accidental commit
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2122 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-05 23:03:36 +00:00
Richard Purdie a5e790a6fc runqemu: Use pda image if sdk image not available for qemu machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2120 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-05 22:40:07 +00:00
Ross Burton 98b1165d9a Unset PYTHONPATH otherwise Python really breaks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1848 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-02 17:05:42 +00:00
Richard Purdie 8142b95bf2 Update copyright
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1734 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-16 13:48:29 +00:00
Richard Purdie 14d1d6d879 scripts: Move main contents of poky-init-build-env to 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
2006-11-23 12:15:17 +00:00