summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/wic2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/wic b/scripts/wic
index d9bea228ad..7392bc4e7f 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -51,6 +51,8 @@ sdkroot = scripts_path
51if os.environ.get('SDKTARGETSYSROOT'): 51if os.environ.get('SDKTARGETSYSROOT'):
52 while sdkroot != '' and sdkroot != os.sep: 52 while sdkroot != '' and sdkroot != os.sep:
53 if os.path.exists(os.path.join(sdkroot, '.devtoolbase')): 53 if os.path.exists(os.path.join(sdkroot, '.devtoolbase')):
54 # Set BUILDDIR for wic to work within eSDK
55 os.environ['BUILDDIR'] = sdkroot
54 # .devtoolbase only exists within eSDK 56 # .devtoolbase only exists within eSDK
55 # If found, initialize bitbake path for eSDK environment and append to PATH 57 # If found, initialize bitbake path for eSDK environment and append to PATH
56 sdkroot = os.path.join(os.path.dirname(scripts_path), 'bitbake', 'bin') 58 sdkroot = os.path.join(os.path.dirname(scripts_path), 'bitbake', 'bin')