From 20217bbefedc18be8e78db68950982371a231285 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Mon, 4 Apr 2016 22:47:16 +1000 Subject: * lib/targetdb.exp (set_board_info): Improve comment. (add_board_info): Likewise. --- ChangeLog | 5 +++++ lib/targetdb.exp | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4a8b0c..fc74fe2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-04-04 Ben Elliston + + * lib/targetdb.exp (set_board_info): Improve comment. + (add_board_info): Likewise. + 2016-04-04 Ben Elliston * NEWS: Add some more detail. diff --git a/lib/targetdb.exp b/lib/targetdb.exp index c92573d..97c4a75 100644 --- a/lib/targetdb.exp +++ b/lib/targetdb.exp @@ -55,22 +55,20 @@ proc host_info { op args } { return [eval "board_info host \"$op\" $args"] } -# Fill in ENTRY with VALUE for the current board being defined. +# Set ENTRY to VALUE for the current board. # proc set_board_info { entry value } { global board_info board - if {![info exists board_info($board,$entry)]} { set board_info($board,$entry) $value } } # -# Add VALUE to ENTRY for the current board being defined. +# Append VALUE to ENTRY for the current board. # proc add_board_info { entry value } { global board_info board - lappend board_info($board,$entry) $value } -- cgit v1.2.3