diff options
Diffstat (limited to 'resources/scripts/build/clean/cbutils')
-rwxr-xr-x | resources/scripts/build/clean/cbutils | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/scripts/build/clean/cbutils b/resources/scripts/build/clean/cbutils index 0c0df0d3..b74ed9a8 100755 --- a/resources/scripts/build/clean/cbutils +++ b/resources/scripts/build/clean/cbutils @@ -30,18 +30,18 @@ printf "Cleaning the previous build of coreboot and its utilities\n" [ ! -d "coreboot/" ] && exit 0 -for board in coreboot/*; do - if [ "${board##*/}" = "coreboot" ]; then +for cbtree in coreboot/*; do + if [ "${cbtree##*/}" = "coreboot" ]; then continue fi # Clean coreboot, of course - make -C "${board}/" distclean + make -C "${cbtree}/" distclean # Clean its utilities as well for util in cbfstool ifdtool nvramtool cbmem; do - make -C "${board}/util/${util}/" clean + make -C "${cbtree}/util/${util}/" clean done - make -C "${board}/payloads/libpayload/" distclean + make -C "${cbtree}/payloads/libpayload/" distclean done printf "\n\n" |