diff options
Diffstat (limited to 'script')
| -rwxr-xr-x | script/build/fw/coreboot | 3 | ||||
| -rwxr-xr-x | script/update/vendor/download | 4 | ||||
| -rwxr-xr-x | script/update/vendor/inject | 4 | 
3 files changed, 8 insertions, 3 deletions
| diff --git a/script/build/fw/coreboot b/script/build/fw/coreboot index bf7943ac..4cdf64ff 100755 --- a/script/build/fw/coreboot +++ b/script/build/fw/coreboot @@ -132,7 +132,8 @@ prepare_target()  	cbfstool="cbutils/${tree}/cbfstool"  	cbrom="${cbdir}/build/coreboot.rom" -	x_ ./update project trees -b coreboot utils ${tree} +	[ -f "${cbfstool}" ] || \ +		x_ ./update project trees -b coreboot utils ${tree}  	build_dependency_seabios diff --git a/script/update/vendor/download b/script/update/vendor/download index 2d90b9b0..6c83b0ca 100755 --- a/script/update/vendor/download +++ b/script/update/vendor/download @@ -50,7 +50,9 @@ build_dependencies()  		x_ ./update project trees -b uefitool  	[ -f "${kbc1126_ec_dump}" ] || \  		x_ make -C "${cbdir}/util/kbc1126" -	x_ ./update project trees -b coreboot utils default +	if [ ! -f "${cbfstool}" ] || [ ! -f "${ifdtool}" ]; then +		x_ ./update project trees -b coreboot utils default +	fi  }  download_vendorfiles() diff --git a/script/update/vendor/inject b/script/update/vendor/inject index 3340a723..f4caf89e 100755 --- a/script/update/vendor/inject +++ b/script/update/vendor/inject @@ -88,7 +88,9 @@ detect_board()  build_dependencies()  {  	[ -d "${cbdir}" ] || x_ ./update project trees -f coreboot default -	x_ ./update project trees -b coreboot utils default +	if [ ! -f "${cbfstool}" ] || [ ! -f "${ifdtool}" ]; then +		x_ ./update project trees -b coreboot utils default +	fi  	x_ ./update vendor download ${board}  } | 
