[Buildroot] [PATCH v4 07/11] pkg-cmake.mk: globally drive the CMAKE_BUILD_TYPE flag using BR2_ENABLE_DEBUG
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Jun 1 11:06:51 UTC 2014
Dear Samuel Martin,
On Sun, 1 Jun 2014 11:24:29 +0200, Samuel Martin wrote:
> This CMake flag is usually used to adjust compiler flags (like: -Ox, -g,
> etc).
>
> So, it makes sense for Buildroot to globally drive this CMake flags in
> the cmake-package infrastructure.
>
> However, if a package prefer overriding this default setting, it still
> can via the <PKG>_CONF_OPT variable.
>
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> Tested-by: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list