From 33e4144e1df94533ff35d2c8cff1f88cf7fdd314 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Thu, 24 Feb 2022 21:30:50 -0800 Subject: disutils*.bbclasses: move to meta-python distutils has been deprecated in Python 3.10 and will be removed in Python 3.12 (predicted release date October 2023). For now, move these classes from oe-core to meta-python to allow users to migrate. [YOCTO #14610] (From OE-Core rev: 782ce913b3611da8571a758c821b1491493eabec) Signed-off-by: Tim Orling Signed-off-by: Richard Purdie --- meta/classes/distutils-common-base.bbclass | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 meta/classes/distutils-common-base.bbclass (limited to 'meta/classes/distutils-common-base.bbclass') diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass deleted file mode 100644 index 59c750a3cf..0000000000 --- a/meta/classes/distutils-common-base.bbclass +++ /dev/null @@ -1,28 +0,0 @@ -export STAGING_INCDIR -export STAGING_LIBDIR - -# LDSHARED is the ld *command* used to create shared library -export LDSHARED = "${CCLD} -shared" -# LDXXSHARED is the ld *command* used to create shared library of C++ -# objects -export LDCXXSHARED = "${CXX} -shared" -# CCSHARED are the C *flags* used to create objects to go into a shared -# library (module) -export CCSHARED = "-fPIC -DPIC" -# LINKFORSHARED are the flags passed to the $(CC) command that links -# the python executable -export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic" - -FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" - -FILES:${PN}-staticdev += "\ - ${PYTHON_SITEPACKAGES_DIR}/*.a \ -" -FILES:${PN}-dev += "\ - ${datadir}/pkgconfig \ - ${libdir}/pkgconfig \ - ${PYTHON_SITEPACKAGES_DIR}/*.la \ -" -python __anonymous() { - bb.warn("distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead") -} -- cgit v1.2.3-54-g00ecf