[PATCH 1/1] examples: make examples customizable

Tom Rini trini at konsulko.com
Tue Sep 22 20:42:57 CEST 2020


On Tue, Sep 22, 2020 at 08:03:49PM +0200, Heinrich Schuchardt wrote:

> Most users don't need the standalone API examples. Distributions like Suse
> do not supply libgcc for cross-compiling and we cannot do without on ARMv8
> for building examples/.
> 
> Make examples customizable via symbol CONFIG_EXAMPLES. It only defaults to
> yes to ensure that we compile it on Gitlab CI.

In this case we should not make it "default y" but instead enable it in
some specific cases that go through CI.  Probably once per arch/
directory on the QEMU / virtual target for that arch.

> Cc: Matthias Brugger <mbrugger at suse.com>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> I wonder if we should not completely drop the standalone API. The UEFI API
> has enough to run a standalone application.

I'm certainly in favor of NOT adding support there for new
architectures.  I don't believe however we can drop it for existing
architectures without some fairly large notice, and only then when UEFI
is available as a reasonable replacement (ARM? Yes.  MIPS?  No idea).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200922/b88414cc/attachment.sig>


More information about the U-Boot mailing list