]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe-init-build-env: create a symlink in BUILDDIR rbt/symlink
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 16 Feb 2017 02:55:39 +0000 (18:55 -0800)
committerRobert Yang <liezhi.yang@windriver.com>
Thu, 16 Feb 2017 08:53:02 +0000 (00:53 -0800)
commit335fdc9ba14019e62b29119cf8fe6875a7fb9076
tree5013c651afa4f1855d63983ec270f8105b5d2961
parent9f225ef5620f2e47e762b2fd16fa5f8d6f1f60fd
oe-init-build-env: create a symlink in BUILDDIR

When there are multiple oe-core repos (for example, poky-master,
poky-morty and poky-krogoth) and multiple builddirs for them, it's not
easy to reinit builddir in such a case, and very easy to make mistakes.
Create a symlink in builddir will make it easy, for example:

e.g.:
$ . poky-morty/oe-init-build-env test_m
$ ls -l oe-init-build-env
oe-init-build-env -> /buildarea/lyang1/poky-morty/oe-init-build-env

When we want to reinit the builddir test_m:
$ . oe-init-build-env .

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
oe-init-build-env
oe-init-build-env-memres