diff options
| author | Leah Rowe <leah@libreboot.org> | 2025-04-12 17:38:14 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2025-04-12 17:38:14 +0100 | 
| commit | 972681a127bbade608b5abd5ec94a6a74597f2b6 (patch) | |
| tree | 7bdf3cbf79d5e740e4e55113a2c37a8f6f909a94 | |
| parent | b41cd39b686e66d1801e5b32fb7da763b98d934a (diff) | |
mk: minor cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rwxr-xr-x | mk | 8 | 
1 files changed, 3 insertions, 5 deletions
@@ -348,9 +348,8 @@ check_project_hashes()  	printf "%s\n" "$pjhash" > "$XBMK_CACHE/hash/$project$tree" || \  	    $err "!mk $XBMK_CACHE/hash/$project$tree" -	[ "$badhash" != "y" ] || rm -Rf "src/$project/$tree" \ -	    "elf/$project/$tree" "elf/$project/$target" || \ -	    $err "!rm $project $tree"; : +	[ "$badhash" != "y" ] || x_ rm -Rf "src/$project/$tree" \ +	    "elf/$project/$tree" "elf/$project/$target"; :  }  check_cross_compiler() @@ -375,8 +374,7 @@ check_cross_compiler()  		# sometimes buildgcc fails for like no reason. try twice.  		make -C "$cbdir" crossgcc-$xfix $xgccargs || \ -		    make -C "$cbdir" crossgcc-$xfix $xgccargs || \ -		    $err "!mkxgcc $project/$xtree '$xfix' '$xgccargs'" +		    x_ make -C "$cbdir" crossgcc-$xfix $xgccargs  		# we only want to mess with hostcc to build xgcc  		rm -f "$XBMK_CACHE/gnupath/"* || \  | 
