[oe-commits] [openembedded-core] 05/46: cmake.bbclass: remove unneded cd ${B}

git at git.openembedded.org git at git.openembedded.org
Tue May 16 13:09:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit c5da7a3637b0eb8ec5b7368c7ac732d802a703f9
Author: Cody P Schafer <dev at codyps.com>
AuthorDate: Thu May 4 13:50:41 2017 -0400

    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 at gmail.com>
    Signed-off-by: Cody P Schafer <dev at codyps.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/cmake.bbclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 12df617..8b5f18d 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -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
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list