Re: [PATCH 10/23] kbuild: refactor the check for missing config files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 17, 2024 at 11:16:38PM +0900, Masahiro Yamada wrote:
> This commit refactors the check for missing configuration files, making
> it easier to add more files to the list.
> 
> The format of the error message has been slightly changed, as follows:
> 
> [Before]
> 
>     ERROR: Kernel configuration is invalid.
>            include/generated/autoconf.h or include/config/auto.conf are missing.
>            Run 'make oldconfig && make prepare' on kernel src to fix it.
> 
> [After]
> 
>   ***
>   ***  ERROR: Kernel configuration is invalid. The following files are missing:
>   ***    - include/generated/autoconf.h
>   ***    - include/config/auto.conf
>   ***  Run "make oldconfig && make prepare" on kernel source to fix it.
>   ***
> 
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
> 
>  Makefile | 21 +++++++++++++--------
>  1 file changed, 13 insertions(+), 8 deletions(-)

Reviewed-by: Nicolas Schier <n.schier@xxxxxx>




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux