Skip to content

Commit

Permalink
u-boot: use pipetty in place of unbuffer
Browse files Browse the repository at this point in the history
- unbuffer never solved anything; pipetty might
  • Loading branch information
rpardini authored and igorpecovnik committed Jul 3, 2024
1 parent 4573778 commit d9b67b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/functions/compilation/uboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function compile_uboot_target() {

run_host_command_logged CCACHE_BASEDIR="$(pwd)" PATH="${toolchain}:${toolchain2}:${PATH}" \
"KCFLAGS=-fdiagnostics-color=always" \
unbuffer make "olddefconfig" "CROSS_COMPILE=\"$CCACHE $UBOOT_COMPILER\""
pipetty make "olddefconfig" "CROSS_COMPILE=\"$CCACHE $UBOOT_COMPILER\""

fi

Expand Down Expand Up @@ -228,7 +228,7 @@ function compile_uboot_target() {
declare -g if_error_detail_message="${uboot_prefix}Failed to build u-boot ${version} ${target_make}"
do_with_ccache_statistics run_host_command_logged_long_running \
"env" "-i" "${uboot_make_envs[@]}" \
unbuffer make "$target_make" "$CTHREADS" "${cross_compile}"
pipetty make "$target_make" "$CTHREADS" "${cross_compile}"

display_alert "${uboot_prefix}built u-boot target" "${version} in $((SECONDS - ts)) seconds" "info"

Expand Down

0 comments on commit d9b67b3

Please sign in to comment.