Home
last modified time | relevance | path

Searched refs:getVar (Results 1 – 25 of 689) sorted by relevance

12345678910>>...28

/openbmc/openbmc/meta-google/classes/
H A Dimage_types_hoth.bbclass25 _append_image(os.path.join(d.getVar('DEPLOY_DIR_IMAGE', True),
27 int(d.getVar('FLASH_HOTH_UPDATE_OFFSET', True)),
28 int(d.getVar('FLASH_SIZE', True)))
29 if d.getVar('ENABLE_HOTH_SECONDARY',True) == 'yes':
30 _append_image(os.path.join(d.getVar('DEPLOY_DIR_IMAGE', True),
32 int(d.getVar('FLASH_HOTH_SECONDARY_OFFSET', True)),
33 int(d.getVar('FLASH_RWFS_OFFSET', True)))
70 d.getVar('FLASH_UBOOT_OFFSET'),
71 d.getVar('FLASH_KERNEL_OFFSET'),
76 d.getVar('FLASH_KERNEL_OFFSET'),
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dspdx_common.py41 return '/work-shared/' in d.getVar('S')
45 with open(d.getVar("SPDX_LICENSES"), "r") as f:
58 pn = d.getVar("PN")
59 assume_provided = (d.getVar("ASSUME_PROVIDED") or "").split()
61 for p in d.getVar("PROVIDES").split():
70 if d.getVar("PN") == "libtool-cross":
72 if d.getVar("PN") == "libgcc-initial":
74 if d.getVar("PN") == "shadow-sysroot":
90 current_task = "do_" + d.getVar("BB_CURRENTTASK")
91 pn = d.getVar("PN")
[all …]
H A Dpackagedata.py73 num_threads = int(d.getVar("BB_NUMBER_THREADS"))
82 pkgdatadir = d.getVar("PKGDATA_DIR")
107 pkgmap_data = d.getVar("__pkgmap_data", False)
120 pkgdata_dir = d.getVar("PKGDATA_DIR")
144 if bb.data.inherits_class('allarch', d) and not d.getVar('MULTILIB_VARIANTS') \
162 if d.getVar(key, False) is None:
174 deps = bb.utils.explode_dep_versions2(d.getVar(varname) or "")
187 pkgval = d.getVar('PKG:%s' % pkg)
198 postinst = d.getVar('pkg_postinst:%s' % pkg)
199 postinst_ontarget = d.getVar('pkg_postinst_ontarget:%s' % pkg)
[all …]
H A Dsdk.py17 self.sdk_output = self.d.getVar('SDK_OUTPUT')
18 self.sdk_native_path = self.d.getVar('SDKPATHNATIVE').strip('/')
19 self.target_path = self.d.getVar('SDKTARGETSYSROOT').strip('/')
20 self.sysconfdir = self.d.getVar('sysconfdir').strip('/')
26 self.manifest_dir = self.d.getVar("SDK_DIR")
46 self.d.getVar('libdir_nativesdk').strip('/'),
51 self.d.getVar('libdir_nativesdk').strip('/'),
60 execute_pre_post_process(self.d, self.d.getVar('SDK_POSTPROCESS_COMMAND'))
91 linguas = self.d.getVar("SDKIMAGE_LINGUAS")
101 target_arch = self.d.getVar('SDK_ARCH')
[all …]
H A Drootfs.py24 self.image_rootfs = self.d.getVar('IMAGE_ROOTFS')
25 self.deploydir = self.d.getVar('IMGDEPLOYDIR')
55 excludes += [x for x in (self.d.getVar("IMAGE_LOG_CHECK_EXCLUDES") or "").split(" ") if x]
80 (self.d.getVar('PN'), msg, ''.join(messages))
95 self.pm.insert_feeds_uris(self.d.getVar('PACKAGE_FEED_URIS') or "",
96 self.d.getVar('PACKAGE_FEED_BASE_PATHS') or "",
97 self.d.getVar('PACKAGE_FEED_ARCHS'))
110 gen_debugfs = self.d.getVar('IMAGE_GEN_DEBUGFS') or '0'
152 if self.d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-with-srcpkg':
161 extra_debug_pkgs = self.d.getVar('IMAGE_INSTALL_DEBUGFS')
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/
H A Dtargetcontrol.py28 self.datetime = d.getVar('DATETIME')
29 self.testdir = d.getVar("TEST_LOG_DIR")
30 self.pn = d.getVar("PN")
58 image_fstypes = d.getVar('IMAGE_FSTYPES').split(' ')
101 if d.getVar('FIND_ROOTFS') == '1':
103 …self.rootfs = os.path.join(d.getVar("DEPLOY_DIR_IMAGE"), d.getVar("IMAGE_LINK_NAME") + '.' + self…
104 …self.kernel = os.path.join(d.getVar("DEPLOY_DIR_IMAGE"), d.getVar("KERNEL_IMAGETYPE", False) + '-'…
106 dump_monitor_cmds = d.getVar("testimage_dump_monitor")
107 dump_dir = d.getVar("TESTIMAGE_DUMP_DIR")
109 dump_dir = os.path.join(d.getVar('LOG_DIR'), 'runtime-hostdump')
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dparse.py52 self.assertEqual(d.getVar("A"), "1")
53 self.assertEqual(d.getVar("B"), "2")
54 self.assertEqual(d.getVar("C"), "3")
74 self.assertEqual(d.getVar("A"), None)
76 self.assertEqual(d.getVar("B"), "2")
88 self.assertEqual(d.getVar("A"), "a")
90 self.assertEqual(d.getVar("B"), "b")
92 self.assertIsNone(d.getVar("C"))
94 self.assertIsNone(d.getVar("D"))
96 self.assertEqual(d.getVar("exportD"), "d")
[all …]
H A Ddata.py84 context["testfunc"] = lambda d: d.getVar("TESTVAL")
99 self.assertRaises(bb.data_smart.ExpansionError, self.d.getVar, "FOO", True)
103 self.assertRaises(bb.data_smart.ExpansionError, self.d.getVar, "FOO", True)
108 self.assertRaises(bb.data_smart.ExpansionError, self.d.getVar, "FOO", True)
121 val = self.d.getVar("FOO")
126 self.assertRaises(bb.data_smart.ExpansionError, self.d.getVar, "FOO", True)
132 self.assertRaises(bb.data_smart.ExpansionError, self.d.getVar, "FOO", True)
137 self.assertRaises(bb.data_smart.ExpansionError, self.d.getVar, "FOO", True)
141 val = self.d.getVar("FOO")
146 val = self.d.getVar("TEST")
[all …]
/openbmc/openbmc/poky/meta/classes/
H A Dmultilib.bbclass8 cls = d.getVar("BBEXTENDCURR")
9 variant = d.getVar("BBEXTENDVARIANT")
15 d.setVar('STAGING_KERNEL_DIR', localdata.getVar('STAGING_KERNEL_DIR'))
19 provides = (d.getVar("PROVIDES") or "").split()
20 non_ml_recipes = d.getVar('NON_MULTILIB_RECIPES').split()
21 bpn = d.getVar("BPN")
27 save_var_name = d.getVar("MULTILIB_SAVE_VARNAME") or ""
29 val = d.getVar(name)
36 overrides = e.data.getVar("OVERRIDES", False)
37 pn = e.data.getVar("PN", False)
[all …]
H A Drecipe_sanity.bbclass8 bb.note("%s: recipe_sanity: %s" % (d.getVar("P"), msg))
16 for var in d.getVar("__recipe_sanity_badruntimevars").split():
17 val = d.getVar(var, False)
24 for var in d.getVar("__recipe_sanity_reqvars").split():
25 if not d.getVar(var, False):
28 for var in d.getVar("__recipe_sanity_reqdiffvars").split():
29 val = d.getVar(var, False)
38 renames = d.getVar("__recipe_sanity_renames", False)
47 if d.getVar("PACKAGES"):
51 cfg = d.getVar("do_configure")
[all …]
H A Dmultilib_global.bbclass11 multilibs = d.getVar('MULTILIBS') or ""
38 val = d.getVar(v, False)
46 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
48 … newtune = localdata.getVar("DEFAULTTUNE:" + "virtclass-multilib-" + p, False)
59 if v != vexp and d.getVar(v, False):
64 if not d.getVar(newname, False):
71 val = d.getVar(prov, False)
79 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
86 if prov != provexp and d.getVar(prov, False):
101 localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dtestimage.bbclass132 if (d.getVar('TEST_TARGET') == 'simpleremote'
133 and (not d.getVar('TEST_TARGET_IP')
134 or not d.getVar('TEST_SERVER_IP'))):
143 'DISTRO': d.getVar("DISTRO"),
144 'IMAGE_BASENAME': d.getVar("IMAGE_BASENAME"),
145 'IMAGE_PKGTYPE': d.getVar("IMAGE_PKGTYPE"),
146 'STARTTIME': d.getVar("DATETIME"),
148 'LAYERS': get_layers(d.getVar("BBLAYERS"))}
163 …patterns_set = [p for p in boot_patterns_flags.items() if p[0] in d.getVar('TESTIMAGE_BOOT_PATTERN…
168 contains an accepted flag.' % d.getVar('TESTIMAGE_BOOT_PATTERNS'))
[all …]
H A Dgtk-icon-cache.bbclass11 GTKPN = "${@ 'gtk4' if d.getVar('GTKIC_VERSION') == '4' else 'gtk+3' }"
12 GTKIC_CMD = "${@ 'gtk4-update-icon-cache' if d.getVar('GTKIC_VERSION') == '4' else 'gtk-update-icon…
19 DEPENDS +=" ${@ '' if d.getVar('BPN') == 'hicolor-icon-theme' else 'hicolor-icon-theme' } \
20 ${@ '' if d.getVar('BPN') == 'gdk-pixbuf' else 'gdk-pixbuf' } \
21 ${@ '' if d.getVar('BPN') == d.getVar('GTKPN') else d.getVar('GTKPN') } \
60 packages = d.getVar('PACKAGES').split()
61 pkgdest = d.getVar('PKGDEST')
64 icon_dir = '%s/%s/%s/icons' % (pkgdest, pkg, d.getVar('datadir'))
69 rdepends = ' ' + d.getVar('MLPREFIX', False) + "hicolor-icon-theme"
74 rdepends = ' ' + d.getVar('MLPREFIX', False) + "gdk-pixbuf"
[all …]
H A Dgoarch.bbclass7 BUILD_GOOS = "${@go_map_os(d.getVar('BUILD_OS'), d)}"
8 BUILD_GOARCH = "${@go_map_arch(d.getVar('BUILD_ARCH'), d)}"
10 HOST_GOOS = "${@go_map_os(d.getVar('HOST_OS'), d)}"
11 HOST_GOARCH = "${@go_map_arch(d.getVar('HOST_ARCH'), d)}"
12 HOST_GOARM = "${@go_map_arm(d.getVar('HOST_ARCH'), d)}"
13 HOST_GO386 = "${@go_map_386(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}"
14 HOST_GOMIPS = "${@go_map_mips(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}"
19 TARGET_GOOS = "${@go_map_os(d.getVar('TARGET_OS'), d)}"
20 TARGET_GOARCH = "${@go_map_arch(d.getVar('TARGET_ARCH'), d)}"
21 TARGET_GOARM = "${@go_map_arm(d.getVar('TARGET_ARCH'), d)}"
[all …]
H A Dcreate-spdx-sdk-3.0.bbclass25 spdx_work_dir = Path(d.getVar('SPDXSDKWORK'))
27 oe.spdx30_tasks.sdk_create_spdx(d, "host", spdx_work_dir, d.getVar("TOOLCHAIN_OUTPUTNAME"))
33 spdx_work_dir = Path(d.getVar('SPDXSDKWORK'))
35 oe.spdx30_tasks.sdk_create_spdx(d, "target", spdx_work_dir, d.getVar("TOOLCHAIN_OUTPUTNAME"))
41 spdx_work_dir = Path(d.getVar('SPDXSDKEXTWORK'))
44 oe.spdx30_tasks.sdk_create_spdx(d, "host", spdx_work_dir, d.getVar("TOOLCHAINEXT_OUTPUTNAME"))
50 spdx_work_dir = Path(d.getVar('SPDXSDKEXTWORK'))
53 oe.spdx30_tasks.sdk_create_spdx(d, "target", spdx_work_dir, d.getVar("TOOLCHAINEXT_OUTPUTNAME"))
60 sdk_deploydir = Path(d.getVar("SDKDEPLOYDIR"))
61 spdx_work_dir = Path(d.getVar('SPDXSDKWORK'))
[all …]
H A Dtestexport.bbclass51 image_name = ("%s/%s" % (d.getVar('DEPLOY_DIR_IMAGE'),
52 d.getVar('IMAGE_LINK_NAME') or d.getVar('IMAGE_NAME')))
60 target_kwargs['machine'] = d.getVar("MACHINE") or None
61 target_kwargs['serialcontrol_cmd'] = d.getVar("TEST_SERIALCONTROL_CMD") or None
62 target_kwargs['serialcontrol_extra_args'] = d.getVar("TEST_SERIALCONTROL_EXTRA_ARGS") or ""
63 target_kwargs['serialcontrol_ps1'] = d.getVar("TEST_SERIALCONTROL_PS1") or None
64 …target_kwargs['serialcontrol_connect_timeout'] = d.getVar("TEST_SERIALCONTROL_CONNECT_TIMEOUT") or…
67 d.getVar("TEST_TARGET"), None, d.getVar("TEST_TARGET_IP"),
68 d.getVar("TEST_SERVER_IP"), **target_kwargs)
73 extract_dir = d.getVar("TEST_EXTRACTED_DIR")
[all …]
H A Dkernel-module-split.bbclass39 KERNEL_MODULES_META_PACKAGE ?= "${@ d.getVar("KERNEL_PACKAGE_NAME") or "kernel" }-modules"
52 tempfile.tempdir = d.getVar("WORKDIR")
70 cmd = "%s -j .modinfo -O binary %s %s" % (d.getVar("OBJCOPY"), tmpkofile, tmpfile)
72 cmd = "%s -j .modinfo -O binary %s %s" % (d.getVar("OBJCOPY"), file, tmpfile)
92 dvar = d.getVar('PKGD')
96 autoloadlist = (d.getVar("KERNEL_MODULE_AUTOLOAD") or "").split()
97 autoload = d.getVar('module_autoload_%s' % basename)
103 conf = '%s/%s.conf' % (d.getVar('modulesloaddir'), basename)
115 postinst = d.getVar('pkg_postinst:%s' % pkg)
118 postinst += d.getVar('autoload_postinst_fragment') % (autoload or basename)
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/
H A Dlibgcc-common.inc78 multilibs = d.getVar('MULTILIB_VARIANTS')
82 binv = d.getVar('BINV')
84 mlprefix = d.getVar('MLPREFIX')
85 if ('%slibgcc' % mlprefix) != d.getVar('PN'):
89 orig_tune = d.getVar('DEFAULTTUNE_MULTILIB_ORIGINAL')
97 d.getVar('TARGET_SYS_MULTILIB_ORIGINAL') + '/' + binv + '/'
99 dest = d.getVar('D') + d.getVar('libdir') + '/' + \
100 d.getVar('TARGET_SYS') + '/' + binv + '/' + orig_tune_bitness
109 tune = d.getVar('DEFAULTTUNE:virtclass-multilib-' + ml)
132 tune_arch + d.getVar('TARGET_VENDOR') + 'ml' + ml + \
[all …]
H A Dgcc-common.inc18 dest = d.getVar("B")
20 …staging_processfixme([src + "/fixmepath"], dest, d.getVar("RECIPE_SYSROOT"), d.getVar("RECIPE_SYSR…
24 if d.getVar('ARMPKGSFX_EABI') == "hf" and d.getVar('TRANSLATED_TARGET_ARCH') == "arm":
26 if d.getVar('TARGET_FPU') in [ 'soft' ]:
28 if d.getVar('TARGET_FPU') in [ 'ppc-efd' ]:
36 march = re.match(r'^.*-march=([^\s]*)', d.getVar('TUNE_CCARGS'))
45 …if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'mips', 'mipsel' ] and bb.utils.contains('DISTRO_FEATUR…
50 …if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'powerpc', 'powerpc64' ] and not bb.utils.contains('DIS…
55 target_arch = d.getVar('TRANSLATED_TARGET_ARCH')
72 availtunes = d.getVar('AVAILTUNES')
[all …]
/openbmc/openbmc/poky/meta/classes-global/
H A Dpackage_ipk.bbclass21 OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}"
22 …['', '--add-exclude ' + ' --add-exclude '.join((d.getVar('PACKAGE_EXCLUDE') or "").split())][(d.ge…
27 workdir = d.getVar('WORKDIR')
28 outdir = d.getVar('PKGWRITEDIRIPK')
29 tmpdir = d.getVar('TMPDIR')
30 pkgdest = d.getVar('PKGDEST')
35 packages = d.getVar('PACKAGES')
51 IPK_RECIPE_FILE = "${@os.path.basename(d.getVar('FILE'))}"
67 outdir = d.getVar('PKGWRITEDIRIPK')
68 pkgdest = d.getVar('PKGDEST')
[all …]
H A Dbase.bbclass23 adjust = d.getVar('LSB_DISTRO_ADJUST')
47 if d.getVar('INHIBIT_DEFAULT_DEPS', False):
62 THISDIR = "${@os.path.dirname(d.getVar('FILE'))}"
66 elements = (d.getVar('EXTRANATIVEPATH') or "").split()
75 lic_files = d.getVar("LIC_FILES_CHKSUM") or ''
76 tmpdir = d.getVar("TMPDIR")
77 s = d.getVar("S")
78 b = d.getVar("B")
79 workdir = d.getVar("WORKDIR")
95 bb.fatal(d.getVar('PN') + ": LIC_FILES_CHKSUM contains an invalid URL: " + url)
[all …]
/openbmc/openbmc/meta-phosphor/classes/
H A Dimage_types_phosphor.bbclass99 page_size = d.getVar('FLASH_PAGE_SIZE', True)
100 nor_overhead_size = d.getVar('FLASH_NOR_UBI_OVERHEAD', True)
102 peb_size = d.getVar('FLASH_PEB_SIZE', True)
106 rwfs_size = d.getVar('FLASH_UBI_RWFS_SIZE', True)
217 ${PN}:do_image_${@d.getVar('FLASH_UBI_BASETYPE', True).replace('-', '_')} \
252 ${PN}:do_image_${@d.getVar('FLASH_UBI_BASETYPE', True).replace('-', '_')} \
284 nor_image = os.path.join(d.getVar('IMGDEPLOYDIR', True),
285 '%s.static.mtd' % d.getVar('IMAGE_NAME', True))
301 uboot_offset = int(d.getVar('FLASH_UBOOT_OFFSET', True))
303 spl_binary = d.getVar('SPL_BINARY', True)
[all …]
/openbmc/openbmc/poky/meta/lib/oe/package_manager/
H A D__init__.py181 self.intercepts_dir = os.path.join(self.d.getVar('WORKDIR'), "intercept_scripts-%s" %
184 postinst_intercepts = (self.d.getVar("POSTINST_INTERCEPTS") or "").split()
186 postinst_intercepts_path = self.d.getVar("POSTINST_INTERCEPTS_PATH")
188 …postinst_intercepts_path = self.d.getVar("POSTINST_INTERCEPTS_DIR") or self.d.expand("${COREBASE}/…
224 os.environ['STAGING_DIR_NATIVE'] = self.d.getVar('STAGING_DIR_NATIVE')
236 if populate_sdk == 'host' and self.d.getVar('SDK_OS') == 'mingw32':
238 % (script, self.d.getVar('T'), self.d.getVar('BB_CURRENTTASK')))
249 …t hook '%s' failed, details in %s/log.do_%s" % (script, self.d.getVar('T'), self.d.getVar('BB_CURR…
253 % (script, self.d.getVar('T'), self.d.getVar('BB_CURRENTTASK')))
255 …t hook '%s' failed, details in %s/log.do_%s" % (script, self.d.getVar('T'), self.d.getVar('BB_CURR…
[all …]
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ipk/
H A D__init__.py20 opkg_index_cmd_extra_params = self.d.getVar('OPKG_MAKE_INDEX_EXTRA_PARAMS') or ""
21 if self.d.getVar('PACKAGE_FEED_SIGN') == '1':
22 signer = get_signer(self.d, self.d.getVar('PACKAGE_FEED_GPG_BACKEND'))
32 archs = self.d.getVar(arch_var)
58 feed_sig_type = self.d.getVar('PACKAGE_FEED_GPG_SIGNATURE_TYPE')
62 self.d.getVar('PACKAGE_FEED_GPG_NAME'),
63 self.d.getVar('PACKAGE_FEED_GPG_PASSPHRASE_FILE'),
69 config_file = d.getVar("IPKGCONF_TARGET")
73 self.opkg_args += self.d.getVar("OPKG_ARGS")
102 self.deploy_dir = oe.path.join(self.d.getVar('WORKDIR'), ipk_repo_workdir)
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/
H A Dnodejs_22.12.0.bb82 shutil.rmtree(d.getVar('S') + '/deps/openssl')
83 if 'ares' in d.getVar('PACKAGECONFIG'):
84 shutil.rmtree(d.getVar('S') + '/deps/cares')
85 if 'brotli' in d.getVar('PACKAGECONFIG'):
86 shutil.rmtree(d.getVar('S') + '/deps/brotli')
87 if 'libuv' in d.getVar('PACKAGECONFIG'):
88 shutil.rmtree(d.getVar('S') + '/deps/uv')
89 if 'nghttp2' in d.getVar('PACKAGECONFIG'):
90 shutil.rmtree(d.getVar('S') + '/deps/nghttp2')
91 if 'zlib' in d.getVar('PACKAGECONFIG'):
[all …]

12345678910>>...28