Explorar o código

libubootenv: Add CMAKE_BUILD_TYPE option to EXTRA_OECMAKE

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>
Acked-by: Stefano Babic <sbabic@denx.de>
Tested-by: Diego Rondini <diego.rondini@kynetics.com>
Pierre-Jean Texier' via swupdate %!s(int64=6) %!d(string=hai) anos
pai
achega
e477d24d74
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      recipes-bsp/libubootenv/libubootenv_0.1.bb

+ 2 - 0
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"