From eaf176eaabb4c558ad76512b30b28ec97fd90bc6 Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Tue, 8 Apr 2014 14:51:22 +0100 Subject: cmake: Improve method for not building ccmake In commit 4bee0a93ed985b38c6b4eb605d8e16f5d7c82d51 I introduced an unnecessary patch to do something that can easily be done without patching. The argument to disable building ccmake can be passed to configure provided it is preceded by "--". Signed-off-by: Mike Crowe Signed-off-by: Richard Purdie --- meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb') diff --git a/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb b/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb index d032cb97e0..638c074d6a 100644 --- a/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb +++ b/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb @@ -6,8 +6,12 @@ DEPENDS += "bzip2-native zlib-native" SRC_URI += "\ file://cmlibarchive-disable-ext2fs.patch \ - file://disable-bootstrap-cursesdialog.patch \ " SRC_URI[md5sum] = "17c6513483d23590cbce6957ec6d1e66" SRC_URI[sha256sum] = "8c6574e9afabcb9fc66f463bb1f2f051958d86c85c37fccf067eb1a44a120e5e" + +# Disable ccmake since we don't depend on ncurses +CMAKE_EXTRACONF = "\ + -DBUILD_CursesDialog=0 \ +" -- cgit 1.2.3-korg