]> code.ossystems Code Review - openembedded-core.git/commitdiff
cmake.bbclass: remove unneded cd ${B}
authorCody P Schafer <dev@codyps.com>
Thu, 4 May 2017 17:50:41 +0000 (13:50 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 May 2017 13:08:15 +0000 (14:08 +0100)
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>
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cmake.bbclass

index 12df617ad83645164561778b96fe31e0b6c30c02..8b5f18d8e0568413b6735779bbdc6965b8f21582 100644 (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
 }