I decided I wanted a 64bit kernel for my UK2 server (seeing as it’s an Athlon X2, and I wanted an ubuntu amd64 chroot to work on it).
After a little playing around, this is how you do it:
make menuconfig ARCH=x86_64
linux-amd64-ld, etc. wrappers. Some need
-m64options. Others autodetect what’s required. (I made a tarball of my wrappers, but they’ve been lost.)
CONCURRENCY_LEVEL=4 make-kpkg --append-to-version '-londonpride' --revision '1.00' --rootcmd fakeroot --arch amd64 kernel_image
Unfortunaly, in the week after this, my machine died of disk corruption. This is the 2nd time it’s happened. I hope UK2 don’t use dodgy hardware…