New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difficult to use make oldconfig #2794
Comments
[External_System_ID] ACRN-3044 |
Reproduced, @junjiemao1 will follow up. |
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 and missing of configuration file directories, as file and directory names 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: projectacrn#2794 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
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: projectacrn#2794 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
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 <junjie.mao@intel.com>
@rossburton The board names have been unified so that the configuration files can be properly located. Would you please verify if it works for you? |
@rossburton , The patch was merged, Would you please verify if it works for you? |
@rossburton , This PR's tag is : acrn-2019w12.4-140000f; Please help to confirm fixed or not. Thanks! |
@rossburton The issue is fixed since CL 28510. Could you please close this ticket? |
@rossburton |
With 0.7 its harder than before to actually manipulate the kconfig without using menuconfig, which isn't an option for distribution-built packages that need to be customised.
Our EFI boot loader isn't at
\\EFI\\org.clearlinux\\bootloaderx64.efi
, which is the default. Thanks to some previous cleanups (see #2371) we can now usemake oldconfig
as is typical:As expected this populates the rest of the
.config
with all the missing values, preserving the values that I'd already set. However, this isn't then able to compile:The important part is
-Iarch/x86/configs/NUC7i7BNH
, because the include directory is actually calledarch/x86/configs/nuc7i7bnh
. I can't use the lowercase form when runningmake oldconfig
because then it doesn't match theCONFIG_BOARD
in the Kconfig files.The only way to build the hypervisor using a custom
.config
is to seed the file withCONFIG_BOARD="NUC7i7BNH"
but also redundantly passBOARD= nuc7i7bnh
tomake
.I believe that
BOARD
should only be needed when runningdefconfig
oroldconfig
, and that theCONFIG_BOARD
name in the Kconfig should be canonical: i.e. the include directories renamed.The text was updated successfully, but these errors were encountered: