diff options
author | Ross Burton <ross.burton@arm.com> | 2023-04-03 11:53:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-04 13:11:50 +0100 |
commit | 6468b9aa8823fe6cb888def8ea96c50736a9c753 (patch) | |
tree | a8d6cdb7253f69c9adace1751fc40569c79a8f9c | |
parent | 3840c0b790aa67feb1700284907fcd1bdd174254 (diff) | |
download | poky-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.bbclass | 13 |
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 |
24 | export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic" | 24 | export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic" |
25 | 25 | ||
26 | FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" | 26 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}" |
27 | FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" | ||
28 | FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la" | ||
27 | 29 | ||
28 | FILES:${PN}-staticdev += "\ | ||
29 | ${PYTHON_SITEPACKAGES_DIR}/*.a \ | ||
30 | " | ||
31 | FILES:${PN}-dev += "\ | ||
32 | ${datadir}/pkgconfig \ | ||
33 | ${libdir}/pkgconfig \ | ||
34 | ${PYTHON_SITEPACKAGES_DIR}/*.la \ | ||
35 | " | ||
36 | inherit python3native python3targetconfig | 30 | inherit python3native python3targetconfig |
37 | |||