This is a slackbuild to build a package for kernel and modules.

Notes: Source needs to be in the format
/usr/src/linux-$LOCALNAME-$VERSION Set localname in .config

If this is for a kernel to be installed on another box then you
should have the source on the target box as some applications may
need to use it. E.G. Building out-tree modules -
/usr/src/linux-$LOCALNAME-$VERSION is used in the script, but you can
customise this for building in other places.