From 2420bce66051cd0f93a814f3cd04f296a903b95f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 27 Oct 2015 16:14:05 -0400 Subject: Automatically register boards --- (limited to 'src/board.sh') diff --git a/src/board.sh b/src/board.sh index a806be9..e55f676 100644 --- a/src/board.sh +++ b/src/board.sh @@ -17,6 +17,17 @@ board_functions='get_name match validate_chip get_dists' +boards='' + +register_board() +{ + local board="${1}" + shift 1 + + boards="${boards} ${board}" + return 0 +} + find_board() { local board= -- cgit v0.9.1