Re: [PATCH] scripts/config: allow "O=config-dir" option

From: Randy Dunlap
Date: Tue Nov 02 2021 - 18:38:36 EST


On 11/2/21 8:38 AM, Nicolas Schier wrote:
On Sat, Oct 30, 2021 at 11:33:22PM -0700, Randy Dunlap wrote:
Support "O=config-dir" as the location of the .config file
like (some) other kernel build (make) tools do.

Someone asked for this "feature" a few months ago but I don't
recall who it was.

Also check for the existence of the config-dir/config-file
and report if there is no such file instead of letting grep
report that there is no such file.

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
Cc: linux-kbuild@xxxxxxxxxxxxxxx
Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
scripts/config | 44 +++++++++++++++++++++++++++++++++++++++-----
1 file changed, 39 insertions(+), 5 deletions(-)


I do like that feature!

With quotes round $FN:
Reviewed-by: Nicolas Schier <nicolas@xxxxxxxxx>

Thanks, I'll do those changes and resend it.

--
~Randy