tcmode-external-oe-sdk: fix EXTERNAL_TOOLCHAIN_SETUP_SCRIPT usage

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2020-07-29 07:44:44 +05:00
parent 113c0c3e9c
commit 994ec34562

View File

@@ -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'))