Re: [OE-core] [PATCH v4 1/7] barebox: add initial support

Enrico Jörns
2024-09-10T08:41:11Z

Hi Alex,

Am Dienstag, dem 10.09.2024 um 10:33 +0200 schrieb Alexander Kanavin:
> On Tue, 10 Sept 2024 at 09:21, Enrico Jörns via lists.openembedded.org
> <ejo=pengutronix.de@lists.openembedded.org> wrote:
> > +PACKAGECONFIG[openssl] = ",,openssl-native"
> > +PACKAGECONFIG[libusb] = ",,libusb1-native"
> > +PACKAGECONFIG[fit] = ",,u-boot-tools-native dtc-native"
>
> Does barebox have configuration options for these? The problem with
> auto-detection is that one can't reliably keep this options disabled,
> as openssl etc. can show up in native sysroot for other reasons.

this should not be a problem since dependencies are only required for some SoC-specific tooling.
And this would just fail to compile if the option is accidentally disabled.

I chose to use packageconfig here to reflect that these are not a hard dependencies for all cases
and to aligned with what the u-boot recipe does for similar reasons.

Regards, Enrico

> Alex
>

--
Pengutronix e.K.                           | Enrico Jörns                |
Embedded Linux Consulting & Support        | https://www.pengutronix.de/ |
Steuerwalder Str. 21                       | Phone: +49-5121-206917-180  |
31137 Hildesheim, Germany                  | Fax:   +49-5121-206917-9    |