diff --git a/src/oebuild/local_conf.py b/src/oebuild/local_conf.py index 0aa2238f486b337a77ba947f893413db5784d34f..693353c2ca198089653c89daef577d6ef2681209 100644 --- a/src/oebuild/local_conf.py +++ b/src/oebuild/local_conf.py @@ -60,7 +60,7 @@ def get_nativesdk_sysroot(nativesdk_dir = oebuild_util.NATIVESDK_DIR): if ret is not None: abs_path = os.path.join(sysroot_dir, item) if os.path.isdir(abs_path): - return item + return os.path.join("sysroot", item) logger.error("can not find any sysroot directory") sys.exit(1)