[elbe-devel] [PATCH] debianize u-boot: Add cross-build dependencies

Kurt Kanzenbach kurt.kanzenbach at linutronix.de
Thu Nov 28 09:06:57 CET 2019


On Tue, Nov 26, 2019 at 12:38:58PM +0000, Ahmed S. Darwish wrote:
> Complete the list of u-boot build dependencies, so it can also be
> cross-compiled using `dpkg-buildpackage -a ${p_arch} -us -uc`.
>
> Debian packages "which can satisfy dependencies of a package of a
> different architecture" should mark themselves with:
>
>     Multi-Arch: foreign
>
> Correctly, this is the case for packages like make, gzip, flex,
> bison, etc.
>
> lzop should've marked itself similarly, but it doesn't.  Thus
> cross-building u-boot's debian package leads to the error:
>
>     dpkg-checkbuilddeps: error: Unmet build dependencies: lzop
>
> So in the case of lzop, force-use its :native version instead. As
> stated in the Multiarch HOWTO:
>
>    "Any exceptions to the default rules are marked package:any
>     or package:native in the package source."
>
> Link: https://wiki.debian.org/Multiarch/HOWTO
> Signed-off-by: Ahmed S. Darwish <a.darwish at linutronix.de>

Reviewed-by: Kurt Kanzenbach <kurt at linutronix.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20191128/d056bdb9/attachment.sig>


More information about the elbe-devel mailing list