From 15d6f553a4b9400aa1b5f91e02eeba69cb6f8cfd Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 7 Oct 2025 12:03:37 +0200 Subject: kbuild: Be more explicit on --skip-* flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I always end up forgetting which is which, and I have to turn into '-h/--help'. Hence, instead of providing a "clever" short version of each flag, let's scrap that and use a more explicit name for each --skip-* flag. Signed-off-by: Miquel Sabaté Solà --- bin/kbuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/kbuild b/bin/kbuild index ec084dd..11d2835 100755 --- a/bin/kbuild +++ b/bin/kbuild @@ -25,10 +25,10 @@ # scripts are bundled in: install.sh and uninstall.sh. # # You can also pass some options: -# 1. `-s/--skip-config`: tell to skip the call to `defconfig` and/or +# 1. `--skip-config`: tell to skip the call to `defconfig` and/or # `menuconfig`. This is useful if you are just developing over the same # `.config` file again and again. -# 2. `-n/--no-install`: don't generate the install/uninstall files. +# 2. `--skip-install`: don't generate the install/uninstall files. # 3. `-p/--profile`: the kind of machine you are building the kernel for. # 4. `-h/--help`: show the help message. # @@ -53,11 +53,11 @@ set -e while [[ $# -gt 0 ]]; do case $1 in - -s | --skip-config) + --skip-config) SKIP_CONFIG="t" shift ;; - -n | --no-install) + --skip-install) NO_INSTALL="t" shift ;; @@ -94,9 +94,9 @@ Build the Linux Kernel located at the current directory. You may pass the following options: -h, --help Show this message. - -n, --no-install Don't generate the install/uninstall files. -p, --profile The profile to be picked up (values: vf2, suse). - -s, --skip-config Skip the configuration step. + --skip-install Don't generate the install/uninstall files. + --skip-config Skip the configuration step. HERE exit 0 fi -- cgit v1.2.3