scripts/oe-buildenv-internal: Ensure we detect the SDK/ADT and error out
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Oct 2012 13:08:13 +0000 (14:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Oct 2012 16:10:33 +0000 (17:10 +0100)
commit8531da5be425f20d4d07a46d8c7c892036b7f107
tree3fe092e3c00f70c0d91bf210d80b1fc799ba1650
parent9907e501889b8056fedf2306dab69ccc2281cd65
scripts/oe-buildenv-internal: Ensure we detect the SDK/ADT and error out

The SDK/ADT may ship with a python installed which may not have all the modules
need for a bitbake build. We should therefore detect if its already present in the
environment and error out in this case, asking the user to use a clean environment.

This also removes the potential for any other conflict between the two.

[YOCTO #2979]

(From OE-Core rev: 9496d4cd77ae632251b4262b63be857fc4fcb31e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-buildenv-internal