Cross-compiling debian packages for arm - an automated way?

Vladimir Vitkov <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Organization Linux For Bulgarians
Message-ID <[email protected]>
Hello All,

Currently i am trying to setup a box as a crosscompiler/repository for
debian packages. The packages are probably going to be most useful for
me/small set of people but nevertheless i want to do it.

The box targeted (for built packages) is Raspberry Pi (armv6 hardfloat),
but unfortunately it is not beefy enough to do the compile on it, in a
sensible time and repeatable manner.

Therefore i am looking for a way to crosscompile on x86_64 the packages.
I tried to follow the Linaro multiarch cross compile guide
(https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossbuildingQuickStart) but didn't have any measurable success.

I will be glad for any pointers how to setup a crosscompile system that
can do the following:
 * Run on x86_64
 * be able to compile for armhf
 * Be able to create deb packages out of dsc / apt-get source
 * Be able to compile packages in an isolated environment (chroot/kVM)
 * Be able to maintain a repository (not mandatory as reprepro is nice
and easy)
 * supports some kind of buildd functionality (also not mandatory as
package builds can be automated in other ways and are not expected to be
so frequent)

Please note:
 * I am not shooting for recompiling the whole archive, just some stuff
we find useful/want to modify or not packaged
 * Probably will recompile some packages which are not to our
satisfaction in terms of layout, features or similar.
 * Kernel is not completely out of the question, but quite some way down
the road
 * I am just appalled by the most projects/tutorials for the RPI that
say ... wget ; tar ; configure ; make ... this is just not right.

Please excuse me if i missed some blatantly obvious link, it might be my
search-fu is not good enough.
-- 
Regards
Vladimir Vitkov
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJSCeHcAAoJEKFiEhGKy0zFrhsP/1PsgCpRyqqASUfPFtsXyWZp
19/oQgEdfKITtomAE7L/P11kwnC/Oks3RwvX4IpvYcyzc7/4KOWkYyUbV80CFX+0
otkdXx2AVgdt3HkUTV6zaAr1NEO2T7V4pxDHyMI9GkclKXiyEQPnTIMqo22ZUZhC
LriLNdOD5qMDlTLXtptf8IERqKhd95dbeFlOAhpcMaFr0L6kErirlJwJ/qo0pnjP
8ypuDCMKZYmQqAanuRvASEcZcPInyoPRG9QURZm8Njg66XpuFoBoBMt9LcDV0EOZ
02SSlFPV1S1xo6Murs7/kT0Bhlu4Wut+m1QDB6LhJznBAloJWApe5GXAdzhAntqB
mPG36ayFUNDJGEIltjAF73c37e9qdAjXcb7QZ1xtzjupUy/z/93IlYM92CKQkPBX
cU0XaudoGhHxA7d9GbMPt4s98xmU1KpdX1wmK3e5lKUEKUtKygGG8A50JnJQpSp/
89Ov+ODS6Vu6KHR/9+xeYdQIqIZqYaxHpboDJUl1vZUkL+qBtwmtrMs1vGfk7CGR
UBITaSUMHuvv+L7YMKZYf+OIeMXQotkaaAyMQQQcjKEDwp9grbEwFjycfmht+CTh
h7KoXiQLWMFtiGtF5C5cTzlikt8JPGPCUCx00vXkU1uwTx57U9ujcnIv3TNuveUm
vvmVNMggK6A7ZeCOBw9G
=ChXU
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.