diff mbox series

[meta-swupdate] libubootenv: Add CMAKE_BUILD_TYPE option to EXTRA_OECMAKE

Message ID 1556119747-19800-1-git-send-email-pjtexier@koncepto.io
State Accepted
Headers show
Series [meta-swupdate] libubootenv: Add CMAKE_BUILD_TYPE option to EXTRA_OECMAKE | expand

Commit Message

'Darko Komljenovic' via swupdate April 24, 2019, 3:29 p.m. UTC
The release mode allows to define 'NDEBUG' in order to
not display "Environment OK, copy" on each call.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
---
 recipes-bsp/libubootenv/libubootenv_0.1.bb | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stefano Babic April 24, 2019, 3:44 p.m. UTC | #1
On 24/04/19 17:29, 'Pierre-Jean Texier' via swupdate wrote:
> The release mode allows to define 'NDEBUG' in order to
> not display "Environment OK, copy" on each call.
> 
> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
> ---
>  recipes-bsp/libubootenv/libubootenv_0.1.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-bsp/libubootenv/libubootenv_0.1.bb b/recipes-bsp/libubootenv/libubootenv_0.1.bb
> index 94732c0..6c593a1 100644
> --- a/recipes-bsp/libubootenv/libubootenv_0.1.bb
> +++ b/recipes-bsp/libubootenv/libubootenv_0.1.bb
> @@ -17,6 +17,8 @@ S = "${WORKDIR}/git"
>  
>  inherit cmake
>  
> +EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
> +
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
>  PROVIDES += "u-boot-fw-utils"
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
Diego Rondini April 24, 2019, 7:56 p.m. UTC | #2
On Wed, Apr 24, 2019 at 5:29 PM 'Pierre-Jean Texier' via swupdate
<swupdate@googlegroups.com> wrote:
>
> The release mode allows to define 'NDEBUG' in order to
> not display "Environment OK, copy" on each call.
>
> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
> ---
>  recipes-bsp/libubootenv/libubootenv_0.1.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-bsp/libubootenv/libubootenv_0.1.bb b/recipes-bsp/libubootenv/libubootenv_0.1.bb
> index 94732c0..6c593a1 100644
> --- a/recipes-bsp/libubootenv/libubootenv_0.1.bb
> +++ b/recipes-bsp/libubootenv/libubootenv_0.1.bb
> @@ -17,6 +17,8 @@ S = "${WORKDIR}/git"
>
>  inherit cmake
>
> +EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
> +
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>  PROVIDES += "u-boot-fw-utils"
> --
> 2.7.4
>

Tested-by: Diego Rondini <diego.rondini@kynetics.com>
diff mbox series

Patch

diff --git a/recipes-bsp/libubootenv/libubootenv_0.1.bb b/recipes-bsp/libubootenv/libubootenv_0.1.bb
index 94732c0..6c593a1 100644
--- a/recipes-bsp/libubootenv/libubootenv_0.1.bb
+++ b/recipes-bsp/libubootenv/libubootenv_0.1.bb
@@ -17,6 +17,8 @@  S = "${WORKDIR}/git"
 
 inherit cmake
 
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 PROVIDES += "u-boot-fw-utils"