diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-04 18:23:32 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-16 10:07:14 +0300 |
commit | d67015eedd9722cfbf9d929be743ce27dfcd0744 (patch) | |
tree | 7787dedcb5e6a07926201eb21b2a81dd9d73d58a /scripts/kconfig/expr.c | |
parent | f58437aba0a35825dc14dbbf7a1e452662ef797d (diff) | |
download | linux-d67015eedd9722cfbf9d929be743ce27dfcd0744.tar.xz |
kbuild: deb-pkg: use default string when variable is unset or null
${DEBFULLNAME-${user}} falls back to ${user} when DEBFULLNAME is unset.
It is more reasonable to do so when DEBFULLNAME is unset or null.
Otherwise, the command:
$ DEBFULLNAME= make deb-pkg
will leave the name field blank.
The same applies to KBUILD_BUILD_USER and KBUILD_BUILD_HOST.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'scripts/kconfig/expr.c')
0 files changed, 0 insertions, 0 deletions