Home
last modified time | relevance | path

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

/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/parse/
H A D__init__.py139 def vars_from_file(mypkg, d): argument
140 if not mypkg or not mypkg.endswith((".bb", ".bbappend")):
142 if mypkg in __pkgsplit_cache__:
143 return __pkgsplit_cache__[mypkg]
145 myfile = os.path.splitext(os.path.basename(mypkg))
147 __pkgsplit_cache__[mypkg] = parts
149 …aise ParseError("Unable to generate default variables from filename (too many underscores)", mypkg)