There are many boards in coreboot which support multiple variants. When abuild is used to compile a single target, it builds all its variants. If a target has 5 variants, then abuild takes nearly 10x the time to compile all variants of the target. This change adds an option -b/--board-variant to enable abuild to compile only a single variant of the target. TEST=Verified: 1. abuild builds all variants of the target if -b option is not provided. 2. abuild builds a single variant if -b option is provided. 3. abuild prints appropriate error message if invalid variant name is provided. Change-Id: I3781568c6409c5ec2610a8386a21d86037428e7f Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/27215 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Justin TerAvest <teravest@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
|---|---|---|
| .. | ||
| abuild | ||
| acpi | ||
| amdfwtool | ||
| amdtools | ||
| archive | ||
| arm_boot_tools/mksunxiboot | ||
| autoport | ||
| bimgtool | ||
| bincfg | ||
| board_status | ||
| broadcom | ||
| cbfstool | ||
| cbmem | ||
| checklist | ||
| chromeos | ||
| crossgcc | ||
| docker | ||
| dtd_parser | ||
| ectool | ||
| exynos | ||
| futility | ||
| fuzz-tests | ||
| genbuild_h | ||
| genprof | ||
| gitconfig | ||
| ifdfake | ||
| ifdtool | ||
| intelmetool | ||
| inteltool | ||
| intelvbttool | ||
| ipqheader | ||
| k8resdump | ||
| kbc1126 | ||
| kconfig | ||
| lint | ||
| marvell | ||
| me_cleaner | ||
| mma | ||
| msrtool | ||
| mtkheader | ||
| nvidia | ||
| nvramtool | ||
| post | ||
| qualcomm/scripts/cmm | ||
| release | ||
| riscv | ||
| rockchip | ||
| romcc | ||
| sconfig | ||
| scripts | ||
| showdevicetree | ||
| spkmodem_recv | ||
| superiotool | ||
| testing | ||
| uio_usbdebug | ||
| vgabios | ||
| viatool | ||
| x86 | ||
| xcompile | ||