Home
last modified time | relevance | path

Searched refs:relpath (Results 1 – 25 of 77) sorted by relevance

1234

/OK3568_Linux_fs/buildroot/toolchain/
H A Dhelpers.mk125 relpath="$(call relpath_prefix,$${target$(SHARP_SIGN)/})" ; \
126 echo "Fixing symlink $${link} from $${target} to $${relpath}$${target$(SHARP_SIGN)/}" ; \
127 ln -sf $${relpath}$${target$(SHARP_SIGN)/} $${link} ; \
129 relpath="$(call relpath_prefix,$${ARCH_LIB_DIR})" ; \
130 if [ "$${relpath}" != "" ]; then \
146 relpath="$(call relpath_prefix,$${ARCH_SUBDIR})./" ; \
147 ln -s $${relpath} $(STAGING_DIR)/$${ARCH_SUBDIR} ; \
148 echo "Symlinking $(STAGING_DIR)/$${ARCH_SUBDIR} -> $${relpath}" ; \
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/libcap-ng/
H A Dlibcap-ng_0.8.2.bb14 relpath=${@os.path.relpath("${base_libdir}", "${libdir}")}
15 ln -sf ${relpath}/libcap-ng.so.0.0.0 ${D}${libdir}/libcap-ng.so
/OK3568_Linux_fs/buildroot/support/testing/infra/
H A D__init__.py27 def basepath(relpath=""): argument
29 return os.path.join(BASE_DIR, relpath)
32 def filepath(relpath): argument
33 return os.path.join(BASE_DIR, "support/testing", relpath)
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dcmake.bbclass173 -DCMAKE_INSTALL_BINDIR:PATH=${@os.path.relpath(d.getVar('bindir'), d.getVar('prefix') + '/')} \
174 -DCMAKE_INSTALL_SBINDIR:PATH=${@os.path.relpath(d.getVar('sbindir'), d.getVar('prefix') + '/')} \
175 …-DCMAKE_INSTALL_LIBEXECDIR:PATH=${@os.path.relpath(d.getVar('libexecdir'), d.getVar('prefix') + '/…
177 …-DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=${@os.path.relpath(d.getVar('sharedstatedir'), d. getVar('pre…
179 -DCMAKE_INSTALL_LIBDIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} \
180 …-DCMAKE_INSTALL_INCLUDEDIR:PATH=${@os.path.relpath(d.getVar('includedir'), d.getVar('prefix') + '/…
181 …-DCMAKE_INSTALL_DATAROOTDIR:PATH=${@os.path.relpath(d.getVar('datadir'), d.getVar('prefix') + '/')…
H A Dutils.bbclass175 relpath=`python3 -c "import os; print(os.path.relpath('${D}${base_prefix}', '$dirname'))"`
176 cmdoptions=`echo $@ | sed -e "s:${base_prefix}:\\$realdir/$relpath:g"`
205 relpath=`python3 -c "import os; print(os.path.relpath('${D}${base_prefix}', '$dirname'))"`
206 exportstring=`echo $@ | sed -e "s:${base_prefix}:\\$realdir/$relpath:g"`
H A Dpopulate_sdk_ext.bbclass213 relpath = os.path.join('layers', path, oe_init_env_script)
214 if os.path.exists(os.path.join(baseoutpath, relpath)):
215 conf_initpath = relpath
217 relpath = os.path.join('layers', path, 'scripts', 'devtool')
218 if os.path.exists(os.path.join(baseoutpath, relpath)):
219 scriptrelpath = os.path.dirname(relpath)
221 relpath = os.path.join('layers', path, 'meta')
222 if os.path.exists(os.path.join(baseoutpath, relpath, 'lib', 'oe')):
223 core_meta_subdir = relpath
579 f.write('%s\t%s\n' % (chksum, os.path.relpath(fn, baseoutpath)))
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Drecipeutils.py30 …patches = oe.recipeutils.patch_recipe(rd, rd.getVar('FILE'), vals, patch=True, relpath=metaselftes…
68 …patches = oe.recipeutils.patch_recipe(rd, rd.getVar('FILE'), vals, patch=True, relpath=metaselftes…
93 …patches = oe.recipeutils.patch_recipe(rd, rd.getVar('FILE'), vals, patch=True, relpath=metaselftes…
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/meta/
H A Dmeta-environment-extsdk.bb8 …local sysroot=${SDKPATH}/tmp/${@os.path.relpath(d.getVar('STAGING_DIR'), d.getVar('TMPDIR'))}/${MA…
9 …local sdkpathnative=${SDKPATH}/tmp/${@os.path.relpath(d.getVar('STAGING_DIR'), d.getVar('TMPDIR'))…
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Drecipeutils.py271 def patch_recipe_file(fn, values, patch=False, relpath='', redirect_output=None): argument
288 relfn = os.path.relpath(fn, relpath)
337 def patch_recipe(d, fn, varvalues, patch=False, relpath='', redirect_output=None): argument
382 patchdata = patch_recipe_file(f, vals, patch, relpath, redirect_output)
441 relpath = os.path.relpath(path, bb_dir)
442 subdir = os.path.join(tgt_dir, os.path.dirname(relpath))
445 shutil.copy2(path, os.path.join(tgt_dir, relpath))
446 copied.append(relpath)
494 ret[os.path.relpath(fileabspath,srcdir)] = fileabspath
638 …appendpath = os.path.join(destlayerdir, os.path.relpath(os.path.dirname(recipefile), origlayerdir)…
[all …]
H A Dpath.py28 return os.path.relpath(dest, src)
73 base = os.path.relpath(link, walkdir)
313 rel = os.path.relpath(found_path, element)
H A Dcopy_buildsystem.py103 layer_relative = os.path.relpath(layer, os.path.dirname(corebase))
109 layer_relative = os.path.relpath(layerdestpath,
266 dest = os.path.join(destdir, os.path.relpath(src, nativedir))
/OK3568_Linux_fs/yocto/poky/scripts/
H A Dsysroot-relativelinks.py26 print("Replacing %s with %s for %s" % (link, os.path.relpath(topdir+link, subdir), filep))
28 os.symlink(os.path.relpath(topdir+link, subdir), filep)
H A Dpythondeps92 relpath = dirpath[len(path)+1:]
93 if relpath:
98 context = '.'.join(relpath.split(os.sep))
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/
H A Dosc.py40 relpath = self._strip_leading_slashes(ud.path)
43 ud.moddir = os.path.join(ud.pkgdir, relpath, ud.module)
55 …ud.localfile = d.expand('%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), relpath.replace('/', '.'…
H A Dbzr.py33 relpath = self._strip_leading_slashes(ud.path)
34 ud.pkgdir = os.path.join(bzrdir, ud.host, relpath)
H A Dsvn.py48 relpath = self._strip_leading_slashes(ud.path)
49 ud.pkgdir = os.path.join(svndir, ud.host, relpath)
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/gcc/
H A Dlibgfortran.inc20 relpath=${@os.path.relpath("${S}", "${B}/${TARGET_SYS}")}
21 ../$relpath/$target/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
H A Dgcc-sanitizers.inc19 relpath=${@os.path.relpath("${S}/libsanitizer", "${B}/${TARGET_SYS}/libsanitizer")}
20 $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
H A Dlibgcc-common.inc13 relpath=${@os.path.relpath("${S}/${BPN}", "${B}/${BPN}")}
14 $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
/OK3568_Linux_fs/buildroot/support/scripts/
H A Dpycompile.py38 runtime_path = os.path.join("/", os.path.relpath(host_path, strip_root))
76 if args.strip_root and ".." in os.path.relpath(d, args.strip_root):
H A Dsize-stats56 def add_file(filesdict, relpath, abspath, pkg): argument
62 filesdict[relpath] = (pkg, sz)
114 frelpath = os.path.relpath(fpath, os.path.join(builddir, "target"))
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A Dstandard.py330 relpath = os.path.relpath(dst, base_outdir)
331 if relpath.startswith('..'):
333 dst = os.path.join(dry_run_outdir, relpath)
403 ret.extend([os.path.relpath(os.path.join(root, fname), directory) for
464 relpth = os.path.relpath(root, local_files_dir)
474 back_relpth = os.path.relpath(local_files_dir, root)
634 srcsubdir_rel = os.path.relpath(srcsubdir, os.path.join(tempdir, 'workdir'))
705 md5_str = '%s|%s|%s\n' % (recipename, os.path.relpath(fn, config.workspace_path), md5)
774 srcsubdir = os.path.relpath(s, workdir).split(os.sep, 1)[1]
1158 relbpndir = os.path.relpath(bpndir, config.workspace_path) + '/'
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/opkg/
H A Dopkg_0.5.0.bb44 …e = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdi…
/OK3568_Linux_fs/buildroot/toolchain/toolchain-external/
H A Dpkg-toolchain-external.mk465 relpath="$(call relpath_prefix,$${ARCH_LIB_DIR})" ; \
466 ln -snf $${relpath}lib "$${DESTDIR}/$${ARCH_LIB_DIR}" ; \
467 ln -snf $${relpath}lib "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ; \
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templatetags/
H A Dprojecttags.py10 from os.path import relpath
277 return relpath(fullpath, prefix)

1234