On 17 July 2018 at 04:34, Hongxu Jia <hongxu....@windriver.com> wrote: > distutils3_do_compile() { > + NO_FETCH_BUILD=1 \ > + NO_FETCH_BUILD_HELP="Please add its native recipe to DEPENDS." \
... > + def easy_install(self, spec, deps=False): > ++ if os.environ.get('NO_FETCH_BUILD', None): > ++ log.error("ERROR: Do not try to fetch `%s' for building. %s" % > ++ (spec, os.environ.get('NO_FETCH_BUILD_HELP', > ''))) Passing the help to the patch seems overkill considering we're patching in the message in the first place. Why not just put this in the patch itself? > +SRC_URI_append_class-native = " > file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" Do this in setuptools.inc and you won't need to patch both recipes. Ross -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core