From 9abd469da22d37c57c5ec65d4e1ae997e11b69bf Mon Sep 17 00:00:00 2001 From: Junjie Mao Date: Tue, 19 Mar 2019 10:23:53 +0800 Subject: [PATCH] config: unify board names to lowercase Currently board names are used inconsistently across the project. * Name of defconfigs for various boards use lowercase. * Directory of config files for various boards use lowercase. * CONFIG_BOARD uses uppercase. This confuses the configuration scripts and leads to unintended overwriting of .config, as well as missing of board-specific headers during compilation because the include paths are case-sensitive. This patch converts the default board names to lowercase to resolve such issues. Users are still free to define their own boards in either uppercase or lowercase as long as they keep the cases consistent. Tracked-On: #2794 Signed-off-by: Junjie Mao --- hypervisor/arch/x86/configs/apl-up2.config | 2 +- hypervisor/arch/x86/configs/nuc6cayh.config | 2 +- hypervisor/arch/x86/configs/nuc7i7bnh.config | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hypervisor/arch/x86/configs/apl-up2.config b/hypervisor/arch/x86/configs/apl-up2.config index 66a47c2a7..1fb016619 100644 --- a/hypervisor/arch/x86/configs/apl-up2.config +++ b/hypervisor/arch/x86/configs/apl-up2.config @@ -1,5 +1,5 @@ # Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) -CONFIG_BOARD="UP2" +CONFIG_BOARD="up2" CONFIG_SERIAL_PCI=y CONFIG_SERIAL_PCI_BDF="0:18.0" CONFIG_COM_IRQ=6 diff --git a/hypervisor/arch/x86/configs/nuc6cayh.config b/hypervisor/arch/x86/configs/nuc6cayh.config index 07f56c772..dd77173b6 100644 --- a/hypervisor/arch/x86/configs/nuc6cayh.config +++ b/hypervisor/arch/x86/configs/nuc6cayh.config @@ -1,3 +1,3 @@ # Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) -CONFIG_BOARD="NUC6CAYH" +CONFIG_BOARD="nuc6cayh" CONFIG_SERIAL_LEGACY=y diff --git a/hypervisor/arch/x86/configs/nuc7i7bnh.config b/hypervisor/arch/x86/configs/nuc7i7bnh.config index 9bc8aa415..4503cce4f 100644 --- a/hypervisor/arch/x86/configs/nuc7i7bnh.config +++ b/hypervisor/arch/x86/configs/nuc7i7bnh.config @@ -1,3 +1,3 @@ # Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) -CONFIG_BOARD="NUC7i7BNH" +CONFIG_BOARD="nuc7i7bnh" CONFIG_SERIAL_LEGACY=y