diff options
| author | Leah Rowe <leah@libreboot.org> | 2023-06-24 23:23:16 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2023-06-24 23:23:16 +0100 | 
| commit | 941fbcbf1b070c5e82c8590e6a4f1afcc0da78a4 (patch) | |
| tree | 6cdbfaaab4b1f684e0fe75674f69c0a9eb4e8251 /resources/scripts/build/clean/cbutils | |
| parent | 4a49ea3599c8610984c41ef6a234556ed9d0bce5 (diff) | |
run coreboot utils from own directory
this means coreboot can now be distcleaned safely,
before and after each build of a rom image
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/clean/cbutils')
| -rwxr-xr-x | resources/scripts/build/clean/cbutils | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/resources/scripts/build/clean/cbutils b/resources/scripts/build/clean/cbutils index d129ff6e..54659564 100755 --- a/resources/scripts/build/clean/cbutils +++ b/resources/scripts/build/clean/cbutils @@ -2,7 +2,7 @@  #  helper script: clean the dependencies that were built in coreboot  # -#	Copyright (C) 2014, 2015, 2016, 2020 Leah Rowe <info@minifree.org> +#	Copyright (C) 2014-2016, 2020, 2023 Leah Rowe <info@minifree.org>  #	Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>  #  #	This program is free software: you can redistribute it and/or modify @@ -28,6 +28,8 @@ set -u -e  printf "Cleaning the previous build of coreboot and its utilities\n" +rm -Rf cbutils +  [ ! -d "coreboot/" ] && exit 0  for cbtree in coreboot/*; do @@ -42,9 +44,9 @@ for cbtree in coreboot/*; do  	# Clean its utilities as well  	for util in cbfstool ifdtool nvramtool cbmem; do -		make -C "${cbtree}/util/${util}/" clean +		make distclean -C "${cbtree}/util/${util}/"  	done -	make -C "${cbtree}/payloads/libpayload/" distclean +	make distclean -C "${cbtree}/payloads/libpayload/"  done  printf "\n\n" | 
