I'm attempting to cross compile a couple Ubuntu Precise Packages, My current arch is amd64 my target is armhf. I have the correct cross compile GCC toolchain installed, I have correctly utilized the toolchain to previously compile the kernel.
I was wondering about the package build dependencies, does the build just get its includes from my regular dev packages? Do I need to do anything special?
I execute this command, this time adding the arch
dpkg-buildpackage -rfakeroot -aarmhf
near the end of the build, I get this
... File format not recognized
...
make: *** [binary] Error 29
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2