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>