diff options
author | Ross Burton <ross.burton@intel.com> | 2016-06-20 17:39:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-23 14:26:16 +0100 |
commit | 1960abc96c983daf3a6598c4fa76b5ba3208f7db (patch) | |
tree | 3493836274df69c9c0472ac5d9524fb3a7547e26 /meta/lib | |
parent | 40268fe27ae41d5c4feae89900c0bc23a6dce72a (diff) | |
download | poky-1960abc96c983daf3a6598c4fa76b5ba3208f7db.tar.gz |
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>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/utils/targetbuild.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py index f0876705da..59593f5ef3 100644 --- a/meta/lib/oeqa/utils/targetbuild.py +++ b/meta/lib/oeqa/utils/targetbuild.py | |||
@@ -117,7 +117,7 @@ class SDKBuildProject(BuildProject): | |||
117 | subprocess.check_call(cmd, shell=True) | 117 | subprocess.check_call(cmd, shell=True) |
118 | 118 | ||
119 | #Change targetdir to project folder | 119 | #Change targetdir to project folder |
120 | self.targetdir = self.targetdir + self.fname | 120 | self.targetdir = os.path.join(self.targetdir, self.fname) |
121 | 121 | ||
122 | def run_configure(self, configure_args='', extra_cmds=' gnu-configize; '): | 122 | def run_configure(self, configure_args='', extra_cmds=' gnu-configize; '): |
123 | return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=extra_cmds) | 123 | return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=extra_cmds) |