summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/package.py')
-rw-r--r--meta/lib/oe/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index 60392cbced..ce69151e5d 100644
--- a/meta/lib/oe/package.py
+++ b/meta/lib/oe/package.py
@@ -16,6 +16,7 @@ import mmap
16import subprocess 16import subprocess
17import shutil 17import shutil
18 18
19import bb.parse
19import oe.cachedpath 20import oe.cachedpath
20 21
21def runstrip(file, elftype, strip, extra_strip_sections=''): 22def runstrip(file, elftype, strip, extra_strip_sections=''):
@@ -1049,6 +1050,7 @@ def copydebugsources(debugsrcdir, sources, d):
1049 if os.path.exists(p) and not os.listdir(p): 1050 if os.path.exists(p) and not os.listdir(p):
1050 os.rmdir(p) 1051 os.rmdir(p)
1051 1052
1053@bb.parse.vardepsexclude("BB_NUMBER_THREADS")
1052def save_debugsources_info(debugsrcdir, sources_raw, d): 1054def save_debugsources_info(debugsrcdir, sources_raw, d):
1053 import json 1055 import json
1054 import bb.compress.zstd 1056 import bb.compress.zstd
@@ -1081,6 +1083,7 @@ def save_debugsources_info(debugsrcdir, sources_raw, d):
1081 with bb.compress.zstd.open(debugsources_file, "wt", encoding="utf-8", num_threads=num_threads) as f: 1083 with bb.compress.zstd.open(debugsources_file, "wt", encoding="utf-8", num_threads=num_threads) as f:
1082 json.dump(sources_dict, f, sort_keys=True) 1084 json.dump(sources_dict, f, sort_keys=True)
1083 1085
1086@bb.parse.vardepsexclude("BB_NUMBER_THREADS")
1084def read_debugsources_info(d): 1087def read_debugsources_info(d):
1085 import json 1088 import json
1086 import bb.compress.zstd 1089 import bb.compress.zstd