[OE-core] [oe-core][PATCH] u-boot: Fix pylibfdt generation
Joshua Watt
jpewhacker at gmail.com
Thu Jul 19 21:36:50 UTC 2018
On Thu, 2018-07-19 at 21:10 +0100, Burton, Ross wrote:
> On 19 July 2018 at 17:31, Joshua Watt <jpewhacker at gmail.com> wrote:
> > +EXTRA_OEMAKE += 'PYTHON=nativepython
> > STAGING_INCDIR=${STAGING_INCDIR_NATIVE}
> > STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE}'
> > +DEPENDS += "bc-native dtc-native swig-native python-native"
>
> Instead of setting PYTHON and DEPENDS, you can just inherit
> pythonnative.
I tried that, but pythonnative.bbclass appears to export the wrong
variables for this case:
export STAGING_INCDIR
export STAGING_LIBDIR
u-boot actually needs:
STAGING_INCDIR=${STAGING_INCDIR_NATIVE}
STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE}
I'm not sure where the disconnect is there?
>
> Or ideally, if it can use Python 3, inherit python3native.
>
> Ross
More information about the Openembedded-core
mailing list