On 04/19/2011 07:33 AM, maximilian attems wrote: > On Mon, Apr 18, 2011 at 03:28:28PM -0400, robert@xxxxxxxxxxxxxxxxxxxxx wrote: >> Here is the original 'make' command: >> make ARCH=arm LOCALVERSION=-x1 CROSS_COMPILE=arm-linux-gnueabi- >> KDEB_PKGVERSION=1.0cross deb-pkg >> >> Here is how it fails: >> dpkg-gencontrol: error: current host architecture 'armel' does not >> appear in package's architecture list (i386) >> make[1]: *** [deb-pkg] Error 255 >> make: *** [deb-pkg] Error 2 >> > did you check how it dpkg-gencontrol is called? > just put an set -x on the top of builddeb. > Here is the output: dpkg-gencontrol -isp -DArchitecture=armel -plinux-headers-2.6.38.2-x1 -P/opt/kernel_new/2.6-stable/KERNEL/debian/hdrtmp dpkg-gencontrol: error: current host architecture 'armel' does not appear in package's architecture list (i386) make[1]: *** [deb-pkg] Error 255 make: *** [deb-pkg] Error 2 [2]+ Done gedit KERNEL/scripts/package/builddeb The information in the debian/control file remains the same, i.e. it seems to contain instructions to build headers for an i386. Regards, Robert -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html