/openbmc/openbmc/meta-google/classes/ |
H A D | image_types_hoth.bbclass | 28 int(d.getVar('FLASH_SIZE', True))) 77 d.getVar('FLASH_ROFS_OFFSET'), 82 d.getVar('FLASH_ROFS_OFFSET'), 98 d.getVar('FLASH_RWFS_OFFSET'), 104 d.getVar('FLASH_SIZE')), 146 d.getVar('FLASH_SIZE')), 147 ] if d.getVar('FLASH_SIZE') == '65536' else [ 184 d.getVar('FLASH_SIZE')), 187 machine = d.getVar('MACHINE') 188 platform = d.getVar('PLATFORM') [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/ |
H A D | targetcontrol.py | 28 self.datetime = d.getVar('DATETIME') 29 self.testdir = d.getVar("TEST_LOG_DIR") 30 self.pn = d.getVar("PN") 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) + '-'… 107 dump_dir = d.getVar("TESTIMAGE_DUMP_DIR") 110 use_kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH')) 121 if d.getVar("DISTRO") == "poky-tiny": 126 display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY"), [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | parse.py | 52 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")) 234 self.assertEqual(d.getVar("A"), None) [all …]
|
H A D | data.py | 121 val = self.d.getVar("FOO") 141 val = self.d.getVar("FOO") 146 val = self.d.getVar("TEST") 213 self.assertTrue(d.getVar("FOO", False) is d.getVar("FOO", False)) 220 self.assertTrue(d1.getVar("FOO", False) is not d2.getVar("FOO", False)) 233 self.assertEqual(d.getVar("foo", False), 234 d.getVar("bar", False)) 317 self.assertEqual(self.d.getVar("TEST"), "") 323 self.assertEqual(self.d.getVar("TEST"), " Y") 341 self.assertEqual(self.d.getVar("TEST"), " A ") [all …]
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | multilib.bbclass | 8 cls = e.data.getVar("BBEXTENDCURR") 9 variant = e.data.getVar("BBEXTENDVARIANT") 21 bpn = e.data.getVar("BPN") 29 val=e.data.getVar(name) 37 pn = e.data.getVar("PN", False) 118 pinstall = d.getVar("LINGUAS_INSTALL") + " " + d.getVar("PACKAGE_INSTALL") 128 cls = d.getVar("BBEXTENDCURR") 129 variant = d.getVar("BBEXTENDVARIANT") 215 values = bb.utils.explode_deps(d.getVar('%s:%s' % (var, pkg)) or d.getVar(var) or "") 231 ml = d.getVar('MLPREFIX') [all …]
|
H A D | recipe_sanity.bbclass | 17 val = d.getVar(var, False) 25 if not d.getVar(var, False): 29 val = d.getVar(var, False) 47 if d.getVar("PACKAGES"): 51 cfg = d.getVar("do_configure") 83 unexpanded = d.getVar(k, False) 89 expanded = d.getVar(k) 101 p = d.getVar("P") 102 p = "%s %s %s" % (d.getVar("PN"), d.getVar("PV"), d.getVar("PR")) 145 oldvalue = self.getVar(newkey, 0) [all …]
|
H A D | multilib_global.bbclass | 11 multilibs = d.getVar('MULTILIBS') or "" 38 val = d.getVar(v, False) 59 if v != vexp and d.getVar(v, False): 64 if not d.getVar(newname, False): 71 val = d.getVar(prov, False) 86 if prov != provexp and d.getVar(prov, False): 112 if prov != provexp and d.getVar(prov, False): 116 val = d.getVar(prov, False) 135 if prov != provexp and d.getVar(prov, False): 184 variant = e.data.getVar("BBEXTENDVARIANT") [all …]
|
H A D | sign_rpm.bbclass | 45 if d.getVar('RPM_GPG_PASSPHRASE_FILE'): 49 if not d.getVar(var): 52 if d.getVar('RPM_SIGN_FILES') == '1': 54 if not d.getVar(var): 62 signer = get_signer(d, d.getVar('RPM_GPG_BACKEND')) 63 rpms = glob.glob(d.getVar('RPM_PKGWRITEDIR') + '/*') 66 d.getVar('RPM_GPG_NAME'), 67 d.getVar('RPM_GPG_PASSPHRASE'), 69 int(d.getVar('RPM_GPG_SIGN_CHUNK')), 70 d.getVar('RPM_FSK_PATH'), [all …]
|
H A D | cve-check.bbclass | 241 deploy_dir = d.getVar("IMGDEPLOYDIR") 242 link_name = d.getVar("IMAGE_LINK_NAME") 249 save_pn = d.getVar("PN") 301 pn = d.getVar("PN") 302 real_pv = d.getVar("PV") 463 cve_file = d.getVar("CVE_CHECK_LOG") 464 fdir_name = d.getVar("FILE_DIRNAME") 504 write_string += "PACKAGE VERSION: %s%s\n" % (d.getVar("EXTENDPE"), d.getVar("PV")) 579 fdir_name = d.getVar("FILE_DIRNAME") 602 package_version = "%s%s" % (d.getVar("EXTENDPE"), d.getVar("PV")) [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | gtk-icon-cache.bbclass | 11 GTKPN = "${@ 'gtk4' if d.getVar('GTKIC_VERSION') == '4' else 'gtk+3' }" 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') 74 rdepends = ' ' + d.getVar('MLPREFIX', False) + "gdk-pixbuf" 78 rdepends = ' ' + d.getVar('MLPREFIX', False) + d.getVar('GTKPN') 83 postinst = d.getVar('pkg_postinst:%s' % pkg) 86 postinst += d.getVar('gtk_icon_cache_postinst') 89 postrm = d.getVar('pkg_postrm:%s' % pkg) [all …]
|
H A D | goarch.bbclass | 7 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)}" 22 TARGET_GO386 = "${@go_map_386(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" 23 TARGET_GOMIPS = "${@go_map_mips(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" 28 GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOT… [all …]
|
H A D | testimage.bbclass | 202 and ('dnf' in d.getVar('TEST_SUITES') or 'auto' in d.getVar('TEST_SUITES'))): 206 pn = d.getVar("PN") 223 td[var] = d.getVar(var) 224 td['ORIGPATH'] = d.getVar("BB_ORIGENV").getVar("PATH") 232 machine = d.getVar("MACHINE") 249 tmpdir = d.getVar("TMPDIR") 259 display = d.getVar("BB_ORIGENV").getVar("DISPLAY") 269 kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH')) 272 ovmf = d.getVar("QEMU_USE_OVMF") 312 val = d.getVar(v) [all …]
|
H A D | kernel-module-split.bbclass | 52 tempfile.tempdir = d.getVar("WORKDIR") 92 dvar = d.getVar('PKGD') 97 autoload = d.getVar('module_autoload_%s' % basename) 115 postinst = d.getVar('pkg_postinst:%s' % pkg) 123 modconf = d.getVar('module_conf_%s' % basename) 163 kernel_version = d.getVar("KERNEL_VERSION") 165 metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE') 166 splitmods = d.getVar('KERNEL_SPLIT_MODULES') 167 postinst = d.getVar('pkg_postinst:modules') 168 postrm = d.getVar('pkg_postrm:modules') [all …]
|
H A D | testexport.bbclass | 52 image_name = ("%s/%s" % (d.getVar('DEPLOY_DIR_IMAGE'), 53 d.getVar('IMAGE_LINK_NAME'))) 61 d.getVar("TEST_TARGET"), None, d.getVar("TEST_TARGET_IP"), 62 d.getVar("TEST_SERVER_IP")) 67 extract_dir = d.getVar("TEST_EXTRACTED_DIR") 80 export_path = d.getVar('TEST_EXPORT_DIR') 81 corebase_path = d.getVar('COREBASE') 112 test_modules = d.getVar('TEST_SUITES').split() 140 test_pkg_dir = d.getVar("TEST_NEEDED_PACKAGES_DIR") 148 if d.getVar("TEST_EXPORT_SDK_ENABLED") == "1": [all …]
|
H A D | update-rc.d.bbclass | 61 if d.getVar('INITSCRIPT_PACKAGES', False) == None: 62 if d.getVar('INITSCRIPT_NAME', False) == None: 86 mlprefix = d.getVar('MLPREFIX') or "" 93 overrides = localdata.getVar("OVERRIDES") 98 postinst = d.getVar('pkg_postinst:%s' % pkg) 104 prerm = d.getVar('pkg_prerm:%s' % pkg) 107 prerm += localdata.getVar('updatercd_prerm') 110 postrm = d.getVar('pkg_postrm:%s' % pkg) 120 if not d.getVar("INHIBIT_UPDATERCD_BBCLASS"): 121 pkgs = d.getVar('INITSCRIPT_PACKAGES') [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
H A D | gcc-common.inc | 18 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' ]: 55 target_arch = d.getVar('TRANSLATED_TARGET_ARCH') 72 availtunes = d.getVar('AVAILTUNES') 82 retdict['ccargs'] = localdata.getVar('TUNE_CCARGS') 85 retdict['baselib'] = localdata.getVar('BASE_LIB') or localdata.getVar('BASELIB') 86 retdict['arch'] = localdata.getVar('TUNE_ARCH') [all …]
|
H A D | libgcc-common.inc | 73 multilibs = d.getVar('MULTILIB_VARIANTS') 77 binv = d.getVar('BINV') 79 mlprefix = d.getVar('MLPREFIX') 94 dest = d.getVar('D') + d.getVar('libdir') + '/' + \ 130 dest = d.getVar('D') + d.getVar('libdir') + '/' + \ 140 for suffix in [d.getVar('ABIEXTENSION'), d.getVar('LIBCEXTENSION')]: 156 targetsys = d.getVar('BASETARGET_SYS') 158 if targetsys != d.getVar('TARGET_SYS'): 159 dest = d.getVar('D') + d.getVar('libdir') + '/' + targetsys 160 src = d.getVar('TARGET_SYS') [all …]
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | package_ipk.bbclass | 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') 68 pkgdest = d.getVar('PKGDEST') 126 pe = d.getVar('PKGE') 138 if d.getVar('HOMEPAGE'): 155 summary = localdata.getVar('SUMMARY') or localdata.getVar('DESCRIPTION') or "." 248 ipkver = "%s-%s" % (localdata.getVar('PKGV'), localdata.getVar('PKGR')) [all …]
|
H A D | base.bbclass | 76 tmpdir = d.getVar("TMPDIR") 77 s = d.getVar("S") 78 b = d.getVar("B") 244 val = d.getVar(v) 301 if d.getVar("TARGET_PREFIX") == d.getVar("SDK_PREFIX"): 314 pn = d.getVar('PN') 418 if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("S")): 420 if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("B")): 425 pn = d.getVar('PN') 440 pn = d.getVar("PN") [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ |
H A D | __init__.py | 238 % (script, self.d.getVar('T'), self.d.getVar('BB_CURRENTTASK'))) 253 % (script, self.d.getVar('T'), self.d.getVar('BB_CURRENTTASK'))) 259 % (script, self.d.getVar('T'), self.d.getVar('BB_CURRENTTASK'))) 329 pkgdatadir = self.d.getVar("PKGDATA_DIR") 409 target_arch = self.d.getVar('TARGET_ARCH') 461 taskdepdata = d.getVar("BB_TASKDEPDATA", False) 462 mytaskname = d.getVar("BB_RUNTASK") 463 pn = d.getVar("PN") 471 nodeps = d.getVar("BB_LIMITEDDEPS") or False 473 …for arch in d.getVar("ALL_MULTILIB_PACKAGE_ARCHS").split() + d.getVar("ALL_MULTILIB_PACKAGE_ARCHS"… [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | packagedata.py | 82 pkgdatadir = d.getVar("PKGDATA_DIR") 120 pkgdata_dir = d.getVar("PKGDATA_DIR") 162 if d.getVar(key, False) is None: 230 val = d.getVar('%s' % (var)) 249 packages = d.getVar('PACKAGES') 250 pkgdest = d.getVar('PKGDEST') 251 pkgdatadir = d.getVar('PKGDESTWORK') 259 pn = d.getVar('PN') 270 workdir = d.getVar('WORKDIR') 330 rprov = d.getVar('RPROVIDES:%s' % pkg) or d.getVar('RPROVIDES') [all …]
|
H A D | sdk.py | 17 self.sdk_output = self.d.getVar('SDK_OUTPUT') 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") 91 linguas = self.d.getVar("SDKIMAGE_LINGUAS") 101 target_arch = self.d.getVar('SDK_ARCH') 115 sdk_output = d.getVar('SDK_OUTPUT') 116 target_path = d.getVar('SDKTARGETSYSROOT').strip('/') 121 ipkgconf_sdk_target = d.getVar("IPKGCONF_SDK") 124 img_type = d.getVar('IMAGE_PKGTYPE') [all …]
|
H A D | rootfs.py | 24 self.image_rootfs = self.d.getVar('IMAGE_ROOTFS') 25 self.deploydir = self.d.getVar('IMGDEPLOYDIR') 97 self.d.getVar('PACKAGE_FEED_ARCHS')) 242 if self.d.getVar('USE_DEVFS') != "1": 254 if self.d.getVar('USE_DEPMOD') != "0": 312 if self.d.getVar('LDCONFIGDEPEND'): 342 pkgdatadir = self.d.getVar('PKGDATA_DIR') 398 img_type = d.getVar('IMAGE_PKGTYPE') 405 img_type = d.getVar('IMAGE_PKGTYPE') 419 rootfs_dir = d.getVar('IMAGE_ROOTFS') [all …]
|
/openbmc/openbmc/meta-phosphor/classes/ |
H A D | image_types_phosphor.bbclass | 99 page_size = d.getVar('FLASH_PAGE_SIZE', True) 102 peb_size = d.getVar('FLASH_PEB_SIZE', True) 106 rwfs_size = d.getVar('FLASH_UBI_RWFS_SIZE', True) 303 spl_binary = d.getVar('SPL_BINARY', True) 333 int(d.getVar('FLASH_SIZE', True))) 473 "machine": d.getVar('MACHINE', True), 536 spl_binary = d.getVar('SPL_BINARY', True) 664 d.getVar('STAGING_DIR_TARGET', True), 665 d.getVar('sysconfdir', True).strip(os.sep), 678 purpose = d.getVar('VERSION_PURPOSE', True) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/ |
H A D | 0001-Disable-running-gyp-files-for-bundled-deps.patch | 18 shutil.rmtree(d.getVar('S') + '/deps/openssl') 19 if 'ares' in d.getVar('PACKAGECONFIG'): 20 shutil.rmtree(d.getVar('S') + '/deps/cares') 21 if 'brotli' in d.getVar('PACKAGECONFIG'): 22 shutil.rmtree(d.getVar('S') + '/deps/brotli') 23 if 'libuv' in d.getVar('PACKAGECONFIG'): 24 shutil.rmtree(d.getVar('S') + '/deps/uv') 25 if 'nghttp2' in d.getVar('PACKAGECONFIG'): 26 shutil.rmtree(d.getVar('S') + '/deps/nghttp2') 27 if 'zlib' in d.getVar('PACKAGECONFIG'): [all …]
|