aboutsummaryrefslogtreecommitdiffstats
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:15 +0100
commitc5da7a3637b0eb8ec5b7368c7ac732d802a703f9 (patch)
treee4763ef03d1bca5496a3760ad2c6396e3f0bd0db
parent62454568c12d4fd19bb69b1b679e9c7b6dc95927 (diff)
downloadopenembedded-core-contrib-c5da7a3637b0eb8ec5b7368c7ac732d802a703f9.tar.gz
openembedded-core-contrib-c5da7a3637b0eb8ec5b7368c7ac732d802a703f9.tar.bz2
openembedded-core-contrib-c5da7a3637b0eb8ec5b7368c7ac732d802a703f9.zip
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> Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 12df617ad83..8b5f18d8e05 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
}