1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#compdef make-kpkg
_arguments \
'--help[display help message]' \
'--revision[change Debian revision number]:number:' \
'--append-to-version:suffix:' \
'--flavour[specify additional kernel sub-version]:flavour:' \
'--added-modules:module list:' \
'--added-patches:patches list' \
'--arch[specify architecture for cross-compilation]:architecture' \
'--cross-compile[specify target string]:target' \
'--subarch[specify subarchitecture]:subarchitecture:' \
'--arch-in-name[include architecture in kernel image name]' \
'--pgpsign[sign changes file]:name' \
'--config[specify configuration target]:target:(oldconfig config menuconfig xconfig old menu x)' \
'--targets[list known targets]' \
'--noexec[pass -n option to make]' \
'--initrd[create image suitable for initrd]' \
'(--bzimage)--zimage[make zImage instead of bzImage]' \
'(--zimage)--bzimage[make bzImage instead of zImage]' \
'--rootcmd[specify command for gaining root access]:root command:(sudo fakeroot)' \
'--us[unsigned source]' \
'--uc[unsigned changelog]' \
'*:target:(clean buildpackage binary kernel-source kernel-headers kernel-doc kernel-image build modules modules_config modules_image modules_clean configure debian libc-kheaders)'
|