From 0ed86da9e312f428f75a81fca8d4a4c9dad90224 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 27 Oct 2015 17:54:19 -0400 Subject: find_board(): Add debugging output --- (limited to 'src') diff --git a/src/board.sh b/src/board.sh index dfd128d..cc4c54b 100644 --- a/src/board.sh +++ b/src/board.sh @@ -38,9 +38,11 @@ find_board() local fn= for board in ${boards}; do + dbg 'Checking board "%s"' "${board}" if ! board_${board}_match "${vendor}" "${part}" "${chip}"; then continue fi + dbg 'Match found' for fn in ${board_functions}; do eval "board_${fn}() { board_${board}_${fn} \"\${@}\"; }" done -- cgit v0.9.1