diff options
author | Cody P Schafer <dev@codyps.com> | 2017-05-04 13:50:41 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-16 14:08:28 +0100 |
commit | be0bac21257c4acc815ed7db1e9e8dc97e15dfbd (patch) | |
tree | 70ca4db9f739d6ec64ab9f21a1b4561f0fe9f40b /meta | |
parent | 66ecc9354fa8e28de5a89cf9c6a83753b2934c88 (diff) | |
download | poky-be0bac21257c4acc815ed7db1e9e8dc97e15dfbd.tar.gz |
cmake.bbclass: remove unneded cd ${B}
The default dir for do_compile & do_configure is already ${B}, no need
to cd (other than broken appends)
CC: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: c5da7a3637b0eb8ec5b7368c7ac732d802a703f9)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/cmake.bbclass | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 12df617ad8..8b5f18d8e0 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -135,12 +135,10 @@ cmake_do_configure() { | |||
135 | 135 | ||
136 | do_compile[progress] = "percent" | 136 | do_compile[progress] = "percent" |
137 | cmake_do_compile() { | 137 | cmake_do_compile() { |
138 | cd ${B} | ||
139 | base_do_compile VERBOSE=1 | 138 | base_do_compile VERBOSE=1 |
140 | } | 139 | } |
141 | 140 | ||
142 | cmake_do_install() { | 141 | cmake_do_install() { |
143 | cd ${B} | ||
144 | oe_runmake 'DESTDIR=${D}' install | 142 | oe_runmake 'DESTDIR=${D}' install |
145 | } | 143 | } |
146 | 144 | ||