[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5849/8267] cmake.bbclass: remove unneded cd ${B}



commit be0bac21257c4acc815ed7db1e9e8dc97e15dfbd
Author: Cody P Schafer <dev codyps com>
Date:   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 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>

 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 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
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]