mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
cooker.py: Fix case of -b option with a full filepath
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -588,11 +588,11 @@ class BBCooker:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
bf = os.path.abspath(buildfile)
|
bf = os.path.abspath(buildfile)
|
||||||
|
(filelist, masked) = self.collect_bbfiles()
|
||||||
try:
|
try:
|
||||||
os.stat(bf)
|
os.stat(bf)
|
||||||
return [bf]
|
return [bf]
|
||||||
except OSError:
|
except OSError:
|
||||||
(filelist, masked) = self.collect_bbfiles()
|
|
||||||
regexp = re.compile(buildfile)
|
regexp = re.compile(buildfile)
|
||||||
matches = []
|
matches = []
|
||||||
for f in filelist:
|
for f in filelist:
|
||||||
|
|||||||
Reference in New Issue
Block a user