Skip to content

Commit

Permalink
it is very important to check OUTPUT_DIR
Browse files Browse the repository at this point in the history
Signed-off-by: carbon <[email protected]>
  • Loading branch information
carbonfix committed Aug 13, 2024
1 parent 5ebe86a commit 1ef0139
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ function prepare_env()
source build/${MV_BUILD_ENV} > /dev/null 2>&1
defconfig ${MV_BOARD_LINK} > /dev/null 2>&1

echo "OUTPUT_DIR: ${OUTPUT_DIR}" # @build/milkvsetup.sh
echo "OUTPUT_DIR: ${OUTPUT_DIR}" # @build/envsetup_milkv.sh
if [ -z "${OUTPUT_DIR// }" ]; then
print_err "OUTPUT_DIR is not assigned, please check!"
exit 1
fi

if [ "${STORAGE_TYPE}" == "sd" ]; then
MILKV_IMAGE_CONFIG=device/${MILKV_BOARD}/genimage.cfg
Expand Down

0 comments on commit 1ef0139

Please sign in to comment.