Skip to content
Commit 41bc9cf0 authored by David B. Kinder's avatar David B. Kinder Committed by Anas Nashif
Browse files

doc: give nicer error if env not set up



If one forgets to source the zephyr-env.sh script before starting a doc
build (using the top-level Makefile), a long screenful of error messages
go by and you can miss what the actual problem is.

Check if ZEPHYR_BASE is not set and give a nice short error message.

(Updated to a more generic error message in anticipation of #9801
deprecating use of zephyr-env.sh)

Signed-off-by: default avatarDavid B. Kinder <david.b.kinder@intel.com>
parent a9f32d66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment