Did you add "inherit pythonnative" or DEPENDS += "python-native"?
You need just the inherit line. On Mon, May 15, 2023 at 10:23 AM Jiliang Cai <tyro...@gmail.com> wrote: > I have a bb file abc_1.0.bb: > DEPENDS += "python3-native" > And EXTRANATIVEPATH contains "python3-native" as expected, so command > 'python3' > can be searched. > > Then I add DEPENDS += "python-native", but EXTRANATIVEPATH doesn't contains > "python-native", so command 'python' can not be searched. > > python3native.bbclass has a line: > EXTRANATIVEPATH += "python3-native" > So python3 can be searched when bitbake this recipe. I saw similar codes > in the > pythonnative.bbclass file, but why didn't it take effect? > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60019): https://lists.yoctoproject.org/g/yocto/message/60019 Mute This Topic: https://lists.yoctoproject.org/mt/98899140/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-