Ver Fonte

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 há 6 anos atrás
pai
commit
e477d24d74
1 ficheiros alterados com 2 adições e 0 exclusões
  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"