Help with building kernel .deb package

I’m following this approach to build the kernel: http://www.elinux.org/BeagleBoard_Ubuntu_%26_DSP_From_Sources#Build_.26_Prepare_the_Kernel. I have successfully created the uImage is ./build_kernel.sh but when I try to build the .deb package I get the error:

dpkg-gencontrol: error: current host architecture ‘armel’ does not appear in package’s architecture list (amd64)
make[1]: *** [deb-pkg] Error 255
make: *** [deb-pkg] Error 2

I’m building on Ubuntu 10.10 x64 and I believe I have done everything correctly up to that point in the tutorial.

Any help?

Robert Gordon

Just figured out a patch for this.. Just testing it as i type..

Regards,