Browse Source

tcmode-external-oe-sdk: fix EXTERNAL_TOOLCHAIN_SETUP_SCRIPT usage

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Christopher Larson 3 years ago
parent
commit
994ec34562
1 changed files with 1 additions and 1 deletions
  1. 1 1
      conf/distro/include/tcmode-external-oe-sdk.inc

+ 1 - 1
conf/distro/include/tcmode-external-oe-sdk.inc

@@ -36,7 +36,7 @@ python extract_env_setup_metadata() {
                 else:
                     setup = setups[0]
 
-        env = parse_setup_script(setups[0])
+        env = parse_setup_script(setup)
         target_sys = env.get('TARGET_PREFIX')[:-1]
         native_sysroot = pathlib.Path(env.get('OECORE_NATIVE_SYSROOT'))