On Tue, 17 Nov 2020 at 16:41, Khem Raj <[email protected]> wrote: > On Tue, Nov 17, 2020 at 1:19 AM Alexander Kanavin > <[email protected]> wrote: > > > > Yes - and if python3-scons-native is the only such recipe we can find, I > think it's better to merge the recipe with the target one. > > > python3-scons-native is just a manifestation of a larger problem which > is a regression and this suggestion compounds the problem by setting > an unequal rule where non-python packages can > have a native-recipe and recipe but python ones can not, therefore we > need to fix this properly in core classes instead. >
If non-python native-only recipes inherit something that DEPENDS on a target item, they will have the exact same problem. This is what needs fixing - but not by special-casing DEPENDS in every class where it happens, or might happen. I'd rather convert all native-only recipes to target ones + BBCLASSEXTEND, so it works the same way everywhere, and minimizes surprises. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#144738): https://lists.openembedded.org/g/openembedded-core/message/144738 Mute This Topic: https://lists.openembedded.org/mt/78311501/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
