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 "--".

(From OE-Core rev: eaf176eaabb4c558ad76512b30b28ec97fd90bc6)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mike Crowe
2014-04-08 14:51:22 +01:00
committed by Richard Purdie
parent 68a55c8ff7
commit c0ac09ab49
3 changed files with 9 additions and 19 deletions

View File

@@ -1,17 +0,0 @@
Disable building CursesDialog so that cmake-native doesn't have to
depend on ncurses-native.
Upstream-status: Inappropriate [disable feature]
Signed-off-by: Mike Crowe <mac@mcrowe.com>
--- cmake-2.8.12.2/bootstrap~ 2014-01-16 17:15:09.000000000 +0000
+++ cmake-2.8.12.2/bootstrap 2014-04-01 21:27:23.841996822 +0100
@@ -1578,6 +1578,7 @@ export MAKE
# Run bootstrap CMake to configure real CMake
cmake_options="-DCMAKE_BOOTSTRAP=1"
+cmake_options="${cmake_options} -DBUILD_CursesDialog=0"
if [ -n "${cmake_verbose}" ]; then
cmake_options="${cmake_options} -DCMAKE_VERBOSE_MAKEFILE=1"
fi