commit | 690bea3a3c8007dce0c822e3fff353abc7f6cd56 | [log] [tgz] |
---|---|---|
author | Sebastian Bøe <sebastian.boe@nordicsemi.no> | Thu Jan 18 15:55:36 2018 +0100 |
committer | Anas Nashif <nashif@linux.intel.com> | Thu Jan 18 10:44:19 2018 -0500 |
tree | 2741c0759cc88427c20ee72e327025db447eec9b | |
parent | b0d807570997176ce1903c145a8beffbdcee56ba [diff] |
cmake: Fix "make usage" regression from the ZEPHYR_BASE change $ENV{ZEPHYR_BASE} was recently search-replaced with ${ZEPHYR_BASE}, but some CMake code, like usage.cmake, is run by a seperate CMake build system that does not have access to the CMake variable ZEPHYR_BASE. This patch reverts the usage of ${ZEPHYR_BASE} back to use $ENV{ZEPHYR_BASE} in usage.cmake. This has been proven to work on both Windows and Linux. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>