The problem seems to be located in
/usr/share/kernel-package/ruleset/targets/headers.mk:
LINK_ARCH should be set to x86 for 3.0 kernels.
Please note that the kernel package files can be obtained from another location if you add the option "overlay-dir" to make-kpkg. In this case you need to fix the corresponding headers.mk file from the overlay directory.
The problem seems to be located in kernel- package/ ruleset/ targets/ headers. mk:
/usr/share/
LINK_ARCH should be set to x86 for 3.0 kernels.
Please note that the kernel package files can be obtained from another location if you add the option "overlay-dir" to make-kpkg. In this case you need to fix the corresponding headers.mk file from the overlay directory.