[oe-commits] Randy Witt : scripts/oe-buildenv-internal: add means of skipping SDK check during setup
git at git.openembedded.org
git at git.openembedded.org
Mon Feb 23 17:46:27 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 8a68a5ab7fbebec1b6dce1b2195258f65ce41a7b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8a68a5ab7fbebec1b6dce1b2195258f65ce41a7b
Author: Randy Witt <randy.e.witt at linux.intel.com>
Date: Mon Feb 23 17:00:42 2015 +0000
scripts/oe-buildenv-internal: add means of skipping SDK check during setup
The oe-buildenv-internal script checks if the user is already in an sdk
environment and errors if true. Add a way to skip this check.
Signed-off-by: Randy Witt <randy.e.witt at linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/oe-buildenv-internal | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index bba6f8f..9ed2721 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -24,7 +24,7 @@ if [ -z "$OEROOT" ]; then
return 1
fi
-if [ ! -z "$OECORE_SDK_VERSION" ]; then
+if [ -z "$OE_SKIP_SDK_CHECK" -a ! -z "$OECORE_SDK_VERSION" ]; then
echo >&2 "Error: The OE SDK/ADT was detected as already being present in this shell environment. Please use a clean shell when sourcing this environment script."
return 1
fi
More information about the Openembedded-commits
mailing list