diff options
author | Keith Hui <buurin@gmail.com> | 2020-05-29 19:30:59 -0400 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-06 19:47:33 +0000 |
commit | 863d3eb9354cbb8161fcffc7d228220c08272080 (patch) | |
tree | ce12dde7422eaac23359be6700788526ff1cedfe /util/amdtools/k8-compare-pci-space.pl | |
parent | db95b24c7495fdab0613b423ad70fc4d27d29411 (diff) |
abuild: Fix board variant handling
Problem:
Me: $ util/abuild/abuild -t asus/p2b -b p2b-ls
abuild: No such target: asus/p2b, variant: p2b-ls
Cause: We identify boards and variants using path names in tree, so
I type in the test command above. abuild identifies all board variants
the Kconfig way, in all caps and all underscores.
Result: Expectation gap and abuild can't find anything where we expect
it to. All variants with a hyphen in their names are affected.
Fix: Add a substitution to replace hyphens with underscores.
Test: I get my abuild with the command above, even a variant-specific
test config works.
Change-Id: I10d5b471dac41c50a85c4a309ec561b02687bb9a
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41918
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'util/amdtools/k8-compare-pci-space.pl')
0 files changed, 0 insertions, 0 deletions