|
|
|
@ -5,8 +5,8 @@ progname=cl-kernel
|
|
|
|
|
OVERLAY_DIRECTORY="/usr/local/portage/layman/calculate"
|
|
|
|
|
KERNEL_CONFIG_DIR="${OVERLAY_DIRECTORY}/profiles/kernel"
|
|
|
|
|
|
|
|
|
|
SHORTOPTS="k:c:t:n:v:e:rho"
|
|
|
|
|
LONGOPTS="help,no-install,kerneldir:,kernel-config:,make-tarball:,kernel-name:,kernel-version:,kernel-extraversion:,remove-splash,no-clean,menuconfig,use-own-config"
|
|
|
|
|
SHORTOPTS="k:c:n:e:ho"
|
|
|
|
|
LONGOPTS="help,no-install,kerneldir:,kernel-config:,,kernel-name:,kernel-extraversion:,no-clean,menuconfig,use-own-config"
|
|
|
|
|
|
|
|
|
|
print_help() {
|
|
|
|
|
cat <<'EOF'
|
|
|
|
@ -18,13 +18,10 @@ Options:
|
|
|
|
|
-h, --help Print this help message
|
|
|
|
|
-k, --kerneldir DIR Location of the kernel sources
|
|
|
|
|
-c, --kernel-config FILE Kernel configuration file to use for compilation
|
|
|
|
|
-t, --make-tarball FILE Make archive containing kernel,initramfs and modules.
|
|
|
|
|
-n, --kernel-name NAME Tag the kernel and ramdisk with a name:
|
|
|
|
|
If not defined the option defaults to
|
|
|
|
|
'calculate'
|
|
|
|
|
-e, --extraversion VER Specify extraversion for kernel
|
|
|
|
|
-v, --kernel-version VER Specify version for kernel
|
|
|
|
|
-r, --remove-splash Remove splash images from initramfs.
|
|
|
|
|
-o, --use-own-config Use config from kernel directory.
|
|
|
|
|
--no-clean Do not run make clean before compilation
|
|
|
|
|
--menuconfig Run menuconfig after oldconfig
|
|
|
|
|