commit: 53aaf284ba9ee180cf35a762ec50d695d224b0a0
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 19 16:36:00 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 19:59:15 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=53aaf284
gen_determineargs.sh: determine_real_args(): Log when --no-clean forces
--no-mrproper
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
gen_determineargs.sh | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index c939fc9..5bbe33f 100755
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -374,6 +374,17 @@ determine_real_args() {
set_config_with_override BOOL INSTALL
CMD_INSTALL "yes"
set_config_with_override BOOL CLEANUP
CMD_CLEANUP "yes"
+ # Special case: If --no-clean is specified on the command line,
+ # imply --no-mrproper.
+ if ! isTrue "${CLEAN}"
+ then
+ if isTrue "${MRPROPER}"
+ then
+ print_info 5 " MRPROPER forced to \"no\" due to
--no-clean."
+ MRPROPER="no"
+ fi
+ fi
+
# We need to expand and normalize provided $KERNEL_DIR and
# we need to do it early because $KERNEL_OUTPUTDIR will be
# set to $KERNEL_DIR by default.
@@ -636,16 +647,6 @@ determine_real_args() {
fi
fi
- # Special case: If --no-clean is specified on the command line,
- # imply --no-mrproper.
- if [ "${CMD_CLEAN}" != '' ]
- then
- if ! isTrue "${CLEAN}"
- then
- MRPROPER="no"
- fi
- fi
-
local need_tar=no
if [ -n "${MINKERNPACKAGE}" ]