new_variant: support private repos

Some reference designs do not yet have all of their code in public
repos, but we still need to be able to create new variant boards.
Add variables to reference board data for where coreboot source and
coreboot config are located. Use these variables to launch scripts
in the correct directory, or to point to those directories with
an environment variables that the launched script will use.

TEST=`./ --board=hatch --variant=sushi`
Verify that the commit for config.sushi is in

`./ --board=volteer --variant=ripto`
Verify that the commit for config.ripto is in

Change-Id: Ide00562ca7308f29c1732afbd234fc504b933ecd
Tested-by: Paul Fagerburg <>
Reviewed-by: Jacob Rasmussen <>
5 files changed