summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2017-05-04 13:50:41 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-16 14:08:28 +0100
commitbe0bac21257c4acc815ed7db1e9e8dc97e15dfbd (patch)
tree70ca4db9f739d6ec64ab9f21a1b4561f0fe9f40b /meta
parent66ecc9354fa8e28de5a89cf9c6a83753b2934c88 (diff)
downloadpoky-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.bbclass2
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
136do_compile[progress] = "percent" 136do_compile[progress] = "percent"
137cmake_do_compile() { 137cmake_do_compile() {
138 cd ${B}
139 base_do_compile VERBOSE=1 138 base_do_compile VERBOSE=1
140} 139}
141 140
142cmake_do_install() { 141cmake_do_install() {
143 cd ${B}
144 oe_runmake 'DESTDIR=${D}' install 142 oe_runmake 'DESTDIR=${D}' install
145} 143}
146 144