[Buildroot] [PATCH v14 4/5] package/pkg-meson.mk: set Python sysconfigdata

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Oct 23 20:50:38 UTC 2019


On Wed, 23 Oct 2019 13:42:54 -0700
Adam Duskett <aduskett at gmail.com> wrote:

> >  Adam, could you test if this works better?
> >
> > +       $$(if
> > $$(BR2_PACKAGE_PYTHON3),_PYTHON_SYSCONFIGDATA_NAME="$$(PKG_PYTHON_SYSCONFIGDATA_NAME)")
> > \  
> $$(if $$(BR2_PACKAGE_PYTHON3),_PYTHON_SYSCONFIGDATA_NAME="$$(PKG_PYTHON_SYSCONFIGDATA_NAME),_sysconfigdata)"
> Also does not work, because the target python3 may not yet be built.

But that is totally unrelated to the _sysconfigdata "fallback" that I
was criticizing. The issue of "you're passing
_PYTHON_SYSCONFIG_DATA_NAME regardless of whether Python was built
before or not" was already present in your initial submission.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list