scripts: Pass BOARD parameter to build_dlc

To be able to add licensing information to DLCs, the callers of
build_dlc have to provide the BOARD name.

TEST=Create OS image before and after the change and verify
about_os_credits.html hasn't changed. Deploy dummy-dlc and verify a new
LICENSE file containning the license info is in

Cq-Depend: chromium:2023772, chromium:2023857
Change-Id: I7c170db5bb2753415eecc8a1a380bf59cfbb276a
Reviewed-by: Jae Hoon Kim <>
Reviewed-by: Alex Klein <>
Reviewed-by: Amin Hassani <>
Commit-Queue: Andrew Lassalle <>
Tested-by: Andrew Lassalle <>
3 files changed