Sfoglia il codice sorgente

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 6 anni fa
parent
commit
e477d24d74
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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"