<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/poky-init-build-env, branch master</title>
<subtitle></subtitle>
<id>https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master</id>
<link rel='self' href='https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/'/>
<updated>2011-04-20T14:59:04Z</updated>
<entry>
<title>Rename poky-init-build-env to oe-init-build-env</title>
<updated>2011-04-20T14:59:04Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-04-20T14:59:04Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=fa6176219b741eed346b21a3d923e9abc9b5442a'/>
<id>urn:sha1:fa6176219b741eed346b21a3d923e9abc9b5442a</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>poky-init-build-env: unbork for zsh</title>
<updated>2011-03-21T17:49:17Z</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2010-12-28T17:49:17Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=3ef80db73c69b8a731beb8ea4921357a041564e5'/>
<id>urn:sha1:3ef80db73c69b8a731beb8ea4921357a041564e5</id>
<content type='text'>
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</content>
</entry>
<entry>
<title>poky-init-build-env: unset BBPATH</title>
<updated>2011-01-18T00:20:21Z</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2011-01-18T00:12:38Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=740ea68258282c459b66bbed550e6347fb8e83a3'/>
<id>urn:sha1:740ea68258282c459b66bbed550e6347fb8e83a3</id>
<content type='text'>
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 &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>poky-init-build-env: Enable all POSIX shells</title>
<updated>2010-12-20T23:00:51Z</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2010-11-25T00:06:04Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=60ccdaa0ea128ac19113c0746c6e12bd02b2fc12'/>
<id>urn:sha1:60ccdaa0ea128ac19113c0746c6e12bd02b2fc12</id>
<content type='text'>
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 &lt;mark.hatle@windriver.com&gt;
</content>
</entry>
<entry>
<title>poky-init-build-env: Breakup the environment script</title>
<updated>2010-12-20T23:00:25Z</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2010-11-24T22:25:28Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=86b6b093374c37aeca87cdc36fc56440919d9458'/>
<id>urn:sha1:86b6b093374c37aeca87cdc36fc56440919d9458</id>
<content type='text'>
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 &lt;mark.hatle@windriver.com&gt;
</content>
</entry>
<entry>
<title>poky-init-build-env: Fix to show the error message with simple sh based shells</title>
<updated>2010-11-13T14:26:46Z</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-11-13T14:26:46Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=ddbf5e9c48afdeefeaec120a02d43536f5fd1ce1'/>
<id>urn:sha1:ddbf5e9c48afdeefeaec120a02d43536f5fd1ce1</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Enable build dir outside of the poky directory</title>
<updated>2010-07-21T14:39:53Z</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-07-21T13:55:39Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=971907567cff64e74f21d349d6751dadc8c09827'/>
<id>urn:sha1:971907567cff64e74f21d349d6751dadc8c09827</id>
<content type='text'>
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
&lt;&lt;later, in a different shell&gt;&gt;
$ 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 &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>poky-init-build-env: Remove now unneeded return</title>
<updated>2009-11-26T11:25:16Z</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2009-11-26T11:25:16Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=71b10e30459c64f6b5497697cc662bd9ee45b949'/>
<id>urn:sha1:71b10e30459c64f6b5497697cc662bd9ee45b949</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>poky-init-build-env: Update for BASH 4 Bourne Shell semantics</title>
<updated>2009-11-12T16:49:45Z</updated>
<author>
<name>Joe MacDonald</name>
<email>joe@deserted.net</email>
</author>
<published>2009-11-10T16:46:31Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=988e4ddf3cb129bc531b9234e2ab13c7f4c315ac'/>
<id>urn:sha1:988e4ddf3cb129bc531b9234e2ab13c7f4c315ac</id>
<content type='text'>
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 &lt;joe@deserted.net&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title> poky-init-build-env: Don't exit from sourced scripts, return</title>
<updated>2007-07-25T10:44:56Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard@openedhand.com</email>
</author>
<published>2007-07-25T10:44:56Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=f7bf74a05ae7b857dbf935738ee20b0fad9de496'/>
<id>urn:sha1:f7bf74a05ae7b857dbf935738ee20b0fad9de496</id>
<content type='text'>
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2227 311d38ba-8fff-0310-9ca6-ca027cbcb966
</content>
</entry>
</feed>
