Uwe Hermann wrote:
> Add -r|--remove option to force abuild to remove the output directory
> after every board build, in order to save disk space if you don't need
> the actual output files.
> 
> Signed-off-by: Uwe Hermann <[email protected]>

See below.

Acked-by: Peter Stuge <[email protected]>


> +     VENDOR=$1
> +     MAINBOARD=$2

Request "${1}" and "${2}"


> +     if [ "$remove" == "true" ]; then

Should this really be == and not just a single = ?


> +             printf "Removing build dir for board $VENDOR $MAINBOARD...\n"
> +             rm -rf $TARGET/${VENDOR}_${MAINBOARD}

Likewise request "${TARGET}/${VENDOR}_${MAINBOARD}"


//Peter

--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to