summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-04-03 11:53:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-04 13:11:50 +0100
commit6468b9aa8823fe6cb888def8ea96c50736a9c753 (patch)
treea8d6cdb7253f69c9adace1751fc40569c79a8f9c
parent3840c0b790aa67feb1700284907fcd1bdd174254 (diff)
downloadpoky-6468b9aa8823fe6cb888def8ea96c50736a9c753.tar.gz
classes-recipe/setuptools3-base: clean up FILES assignments
Simply inheriting setuptools3-base should put everything in $libdir in PN, and there's no need to replicate the pkgconfig packaging rules as those are the defaults. (From OE-Core rev: 56a32e31d4fdfb908f0edf513d21bc0f2b8c721e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/setuptools3-base.bbclass13
1 files changed, 3 insertions, 10 deletions
diff --git a/meta/classes-recipe/setuptools3-base.bbclass b/meta/classes-recipe/setuptools3-base.bbclass
index 21b688ced0..d1c1fa095f 100644
--- a/meta/classes-recipe/setuptools3-base.bbclass
+++ b/meta/classes-recipe/setuptools3-base.bbclass
@@ -23,15 +23,8 @@ export CCSHARED = "-fPIC -DPIC"
23# the python executable 23# the python executable
24export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic" 24export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic"
25 25
26FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" 26FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"
27FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
28FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la"
27 29
28FILES:${PN}-staticdev += "\
29 ${PYTHON_SITEPACKAGES_DIR}/*.a \
30"
31FILES:${PN}-dev += "\
32 ${datadir}/pkgconfig \
33 ${libdir}/pkgconfig \
34 ${PYTHON_SITEPACKAGES_DIR}/*.la \
35"
36inherit python3native python3targetconfig 30inherit python3native python3targetconfig
37