mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
oeqa/targetbuild: use os.path.join instead of string concatenation
(From OE-Core rev: 1d40f6e3d85d0cd3be6dd784677686ed4dec89c4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
40268fe27a
commit
1960abc96c
@@ -117,7 +117,7 @@ class SDKBuildProject(BuildProject):
|
|||||||
subprocess.check_call(cmd, shell=True)
|
subprocess.check_call(cmd, shell=True)
|
||||||
|
|
||||||
#Change targetdir to project folder
|
#Change targetdir to project folder
|
||||||
self.targetdir = self.targetdir + self.fname
|
self.targetdir = os.path.join(self.targetdir, self.fname)
|
||||||
|
|
||||||
def run_configure(self, configure_args='', extra_cmds=' gnu-configize; '):
|
def run_configure(self, configure_args='', extra_cmds=' gnu-configize; '):
|
||||||
return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=extra_cmds)
|
return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=extra_cmds)
|
||||||
|
|||||||
Reference in New Issue
Block a user