Lines Matching refs:d

29 def conditional(variable, checkvalue, truevalue, falsevalue, d):  argument
30 if d.getVar(variable) == checkvalue:
35 def vartrue(var, iftrue, iffalse, d): argument
37 if oe.types.boolean(d.getVar(var)):
42 def less_or_equal(variable, checkvalue, truevalue, falsevalue, d): argument
43 if float(d.getVar(variable)) <= float(checkvalue):
48 def version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d): argument
49 result = bb.utils.vercmp_string(d.getVar(variable), checkvalue)
55 def both_contain(variable1, variable2, checkvalue, d): argument
56 val1 = d.getVar(variable1)
57 val2 = d.getVar(variable2)
69 def set_intersect(variable1, variable2, d): argument
80 val1 = set(d.getVar(variable1).split())
81 val2 = set(d.getVar(variable2).split())
84 def prune_suffix(var, suffixes, d): argument
91 prefix = d.getVar("MLPREFIX")
97 def str_filter(f, str, d): argument
101 def str_filter_out(f, str, d): argument
109 def inherits(d, *classes): argument
111 return any(bb.data.inherits_class(cls, d) for cls in classes)
113 def features_backfill(var,d): argument
122 features = (d.getVar(var) or "").split()
123 backfill = (d.getVar(var+"_BACKFILL") or "").split()
124 considered = (d.getVar(var+"_BACKFILL_CONSIDERED") or "").split()
132 d.appendVar(var, " " + " ".join(addfeatures))
134 def all_distro_features(d, features, truevalue="1", falsevalue=""): argument
152 return bb.utils.contains("DISTRO_FEATURES", features, truevalue, falsevalue, d)
154 def any_distro_features(d, features, truevalue="1", falsevalue=""): argument
173 return bb.utils.contains_any("DISTRO_FEATURES", features, truevalue, falsevalue, d)
175 def parallel_make(d, makeinst=False): argument
184 pm = (d.getVar('PARALLEL_MAKEINST') or '').split()
186 pm = (d.getVar('PARALLEL_MAKE') or '').split()
201 def parallel_make_argument(d, fmt, limit=None, makeinst=False): argument
214 v = parallel_make(d, makeinst)
221 def packages_filter_out_system(d): argument
226 pn = d.getVar('PN')
231 for pkg in d.getVar('PACKAGES').split():
258 def execute_pre_post_process(d, cmds): argument
266 bb.build.exec_func(cmd, d)
268 def get_bb_number_threads(d): argument
269 return int(d.getVar("BB_NUMBER_THREADS") or os.cpu_count() or 1)
271 def multiprocess_launch(target, items, d, extraargs=None): argument
272 max_process = get_bb_number_threads(d)
415 def get_host_compiler_version(d, taskcontextonly=False): argument
418 if taskcontextonly and d.getVar('BB_WORKERCONTEXT') != '1':
421 compiler = d.getVar("BUILD_CC")
443 def host_gcc_version(d, taskcontextonly=False): argument
446 if taskcontextonly and d.getVar('BB_WORKERCONTEXT') != '1':
449 compiler = d.getVar("BUILD_CC")
455 env["PATH"] = d.getVar("PATH")
469 def get_multilib_datastore(variant, d): argument
470 localdata = bb.data.createCopy(d)