On Mon, Feb 23, 2015 at 2:12 PM, Ian Campbell <[email protected]> wrote: > On Sun, 2015-02-22 at 18:55 +0200, Siarhei Siamashka wrote: >> We might want to push sunxi-tools into more Linux distributions than >> just Debian and Fedora. And the maintainers of these distributions >> could be not very much impressed with the current quality of the >> sunxi-tools build process :) > > At least from my PoV as the Debian maintainer it's not so bad, mostly > because there isn't very much of it and it's pretty simple/basic. > > The biggest issue from the Debian PoV is the binaries contained in the > release -- Debian cannot (or does not want to) ship any binary which is > not rebuilt as part of the package build, so I can't just use them. > > Rebuilding those binaries is hard because sadly cross-compilers are > still a WIP in Debian and ensuring that an Arch:all package is built on > a specific architecture (as someone in this thread suggested) is not > easily achieved. I could just do each upload containing armhf binaries > instead of relying on the buildd network, but that's just a workaround > and in any case I prefer to do source only uploads where possible. > > I must confess that I just skirted the issue by not shipping the > contents of the bin directory or recompiling the things which needed > cross compiling. The package still provides the fel tool, the fex > compiler and sunxi-bootinfo which is useful enough to be worth doing > IMHO even if it lacks some of the handy dev tools. > > Once cross-compiling is sorted out in Debian I'll probably revisit > shipping that stuff.
I am waiting for binary cross-compilers in debian for at least 10 years now, since I followed emdebian project. For gentooers around, the ebuild is 18 lines: http://data.gpo.zugaina.org/mkeyoverlay/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" EGIT_REPO_URI="git://github.com/linux-sunxi/sunxi-tools.git" inherit git-2 autotools DESCRIPTION="Tools to help hacking Allwinner A10 devices." HOMEPAGE="http://linux-sunxi.org/" LICENSE="GPL-2" SLOT="0" IUSE="" DEPEND="virtual/libusb" src_install() { dobin bin2fex dobin bootinfo dobin fel dobin fex2bin dobin fexc dobin nand-part dobin pio } -- Benjamin Henrion <bhenrion at ffii.org> FFII Brussels - +32-484-566109 - +32-2-4148403 "In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators." -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
