Home
last modified time | relevance | path

Searched refs:srcfile (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/scripts/dtc/
H A Dsrcpos.c145 struct srcfile_state *srcfile; in srcfile_push() local
150 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
152 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push()
153 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
154 srcfile->prev = current_srcfile; in srcfile_push()
156 srcfile->lineno = 1; in srcfile_push()
157 srcfile->colno = 1; in srcfile_push()
159 current_srcfile = srcfile; in srcfile_push()
164 struct srcfile_state *srcfile = current_srcfile; in srcfile_pop() local
166 assert(srcfile); in srcfile_pop()
[all …]
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dappend.py106 srcfile = ''
124 srcfile = 'file://%s' % localpath
127 srcfile = 'file://%s' % localpath
144 srcfile = 'patch://%s' % addpatch
146 return (srcfile, elements, modpatches)
335 for newfile, srcfile in files.items():
336 src_destdir = os.path.dirname(srcfile)
350 copyfiles[newfile] = {'newname' : os.path.basename(srcfile)}
H A Dcreate.py267 def determine_from_filename(srcfile): argument
269 if is_package(srcfile):
273 if '.tar.' in srcfile:
274 namepart = srcfile.split('.tar.')[0]
276 namepart = os.path.splitext(srcfile)[0]
283 logger.debug('determine_from_filename: split name %s into: %s' % (srcfile, splitval))
338 srcfile = os.path.basename(parseres.path.rstrip('/'))
339 pn, pv = determine_from_filename(srcfile)
H A Dcreate_buildsys.py652 for srcfile in srcfiles:
656 with open(srcfile, 'r', errors='surrogateescape') as f:
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Drecipetool.py823 def _copy_file_with_cleanup(self, srcfile, basedstdir, *paths): argument
843 dstfile = os.path.join(dstdir, os.path.basename(srcfile))
844 if srcfile != dstfile:
846 shutil.copy(srcfile, dstfile)
857 srcfile = fromname.output
860 with open(srcfile) as fh:
863 self.assertIn('meta-selftest', srcfile, 'wrong bbpath plugin found')
866 if self._copy_file_with_cleanup(srcfile, path, 'lib', 'recipetool')
877 with open(srcfile, 'w') as fh:
H A Ddevtool.py905 srcfile = os.path.join(tempdir, 'share/dot.bashrc')
906 self.assertExists(srcfile, 'Extracted source could not be found')
2104 def _copy_file_with_cleanup(self, srcfile, basedstdir, *paths): argument
2124 dstfile = os.path.join(dstdir, os.path.basename(srcfile))
2125 if srcfile != dstfile:
2127 shutil.copy(srcfile, dstfile)
2141 srcfile = fromname.output
2145 with open(srcfile) as fh:
2148 self.assertIn('meta-selftest', srcfile, 'wrong bbpath plugin found')
2151 if self._copy_file_with_cleanup(srcfile, path, 'lib', 'devtool')
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Drecipeutils.py785 srcfile = param['newname']
787 srcfile = os.path.basename(newfile)
788 srcurientry = 'file://%s' % srcfile
809 param['path'] = srcfile
811 srcfile = param['path']
821 …s.append('install -m %s ${UNPACKDIR}/%s ${D}%s' % (perms, os.path.basename(srcfile), instdestpath))
938 srcfile = param['path']
943 filedest = os.path.join(outdir, destsubdir, os.path.basename(srcfile))
950 …s to %s (dry-run)' % (newfiledisp, os.path.join(appenddir, destsubdir, os.path.basename(srcfile))))
H A Dpatch.py527 for srcfile in out.split():
538 with open(srcfile, 'r', encoding=encoding, newline='') as f:
547 … raise PatchError('Unable to find a character encoding to decode %s' % srcfile)
553 outfile = notes.get(GitApplyTree.original_patch, os.path.basename(srcfile))
/openbmc/qemu/roms/
H A Dedk2-build.py152 srcfile = names[0]
156 dstfile = os.path.basename(srcfile)
159 src = srcdir + '/' + srcfile
/openbmc/openbmc/poky/meta/classes-global/
H A Dinsane.bbclass1443 srcfile = d.getVar('SRC_URI').split()
1448 if srcfile and srcfile[0].startswith('file') or not d.getVar('SRC_URI'):
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/
H A D0008-Use-libtool-2.4.patch1105 - fix_srcfile_path='`cygpath -w "$srcfile"`'
1608 -# Fix the shell variable \$srcfile for the compiler.
3069 - fix_srcfile_path='`cygpath -w "$srcfile"`'
3563 -# Fix the shell variable \$srcfile for the compiler.
5008 - fix_srcfile_path='`cygpath -w "$srcfile"`'
5502 -# Fix the shell variable \$srcfile for the compiler.
6950 - fix_srcfile_path='`cygpath -w "$srcfile"`'
7444 -# Fix the shell variable \$srcfile for the compiler.
8898 - fix_srcfile_path='`cygpath -w "$srcfile"`'
10004 -# Fix the shell variable \$srcfile for the compiler.
[all …]