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 |
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
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 --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"
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(+)