mkfirmware.sh: Keep the original rockdev/

Other stages in build.sh might generate something in rockdev/.

Change-Id: I37349b9a8cb17e2ac59dfdeb76fdb328e5ed0aa1
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen
2022-05-09 18:30:13 +08:00
parent 1a1d6bfc36
commit c9fbf9294d

View File

@ -56,9 +56,7 @@ fatal() {
exit -1 exit -1
} }
# Clean all
mkdir -p $ROCKDEV mkdir -p $ROCKDEV
rm -rf $ROCKDEV/*
# Require buildroot host tools to do image packing. # Require buildroot host tools to do image packing.
if [ ! -d "$TARGET_OUTPUT_DIR" ]; then if [ ! -d "$TARGET_OUTPUT_DIR" ]; then