[OE-core] [PATCH] python-setuptools.inc: avoid using += with an over-ride
Burton, Ross
ross.burton at intel.com
Wed Jul 4 12:53:09 UTC 2018
On 4 July 2018 at 01:55, Andre McCurdy <armccurdy at gmail.com> wrote:
> DEPENDS += "${PYTHON_PN}"
> -DEPENDS_class-native += "${PYTHON_PN}-native"
> -DEPENDS_class-nativesdk += "nativesdk-${PYTHON_PN}"
> +DEPENDS_class-native = "${PYTHON_PN}-native"
> +DEPENDS_class-nativesdk = "nativesdk-${PYTHON_PN}"
Whilst there's nothing wrong with this patch, as the BBCLASSEXTEND
handles DEPENDS-munging isn't this a better fix:
DEPENDS += "${PYTHON_PN}"
-DEPENDS_class-native += "${PYTHON_PN}-native"
-DEPENDS_class-nativesdk += "nativesdk-${PYTHON_PN}"
Ross
More information about the Openembedded-core
mailing list