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>
This commit is contained in:
Cody P Schafer
2017-05-04 13:50:41 -04:00
committed by Richard Purdie
parent 66ecc9354f
commit be0bac2125

View File

@@ -135,12 +135,10 @@ cmake_do_configure() {
do_compile[progress] = "percent"
cmake_do_compile() {
cd ${B}
base_do_compile VERBOSE=1
}
cmake_do_install() {
cd ${B}
oe_runmake 'DESTDIR=${D}' install
}