package/pkg-cmake.mk: move CMAKE_BUILD_TYPE definition into toolchainfile.cmake
The chosen CMAKE_BUILD_TYPE encodes an option of the Buildroot
configuration, so it makes more sense to save it in the
toolchainfile.cmake than to pass it during configure.
It is still possible to override the build type on the cmake
command line.
Cc: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Cc: Maxime Hadjinlian <[email protected]>
Signed-off-by: Samuel Martin <[email protected]>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
[Thomas: reword description in the CHANGES file.]
Signed-off-by: Thomas Petazzoni <[email protected]>