Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2 1/2] cmake.bbclass: remove unneded cd ${B}
@ 2017-05-04 17:50 Cody P Schafer
  2017-05-04 17:50 ` [PATCH v2 2/2] cmake.bbclass: use `cmake --build` to build & install Cody P Schafer
  0 siblings, 1 reply; 2+ messages in thread
From: Cody P Schafer @ 2017-05-04 17:50 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/classes/cmake.bbclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 12df617ad8..8b5f18d8e0 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
 }
 
-- 
2.12.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-04 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 17:50 [PATCH v2 1/2] cmake.bbclass: remove unneded cd ${B} Cody P Schafer
2017-05-04 17:50 ` [PATCH v2 2/2] cmake.bbclass: use `cmake --build` to build & install Cody P Schafer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox