Reuse build dir
This commit is contained in:
@@ -380,13 +380,13 @@ make_images() {
|
|||||||
debug "${FUNCNAME[0]}"
|
debug "${FUNCNAME[0]}"
|
||||||
|
|
||||||
# Reuse the existing output
|
# Reuse the existing output
|
||||||
if [[ -d "$BINDIR" ]]; then
|
# if [[ -d "$BINDIR" ]]; then
|
||||||
if ask_ok "$BINDIR exists. Rebuild?"; then
|
# if ask_ok "$BINDIR exists. Rebuild?"; then
|
||||||
execute rm -rf "$BINDIR"
|
# execute rm -rf "$BINDIR"
|
||||||
else
|
# else
|
||||||
return 0
|
# return 0
|
||||||
fi
|
# fi
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
debug make image BIN_DIR="$BINDIR" \
|
debug make image BIN_DIR="$BINDIR" \
|
||||||
PROFILE="$DEVICE" PACKAGES="$PACKAGES" \
|
PROFILE="$DEVICE" PACKAGES="$PACKAGES" \
|
||||||
|
|||||||
Reference in New Issue
Block a user