summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.1.bb
diff options
context:
space:
mode:
authorJack Mitchell <ml@embed.me.uk>2020-12-08 16:03:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-10 13:40:39 +0000
commit6ca02e249440b248f9a06686dad7d0445d288b11 (patch)
tree5f93f2d8c8f5d95ad96e1ee54aecdd87370d40c6 /meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.1.bb
parent209bc38a46d05b6a6310e134c0ccbce144019723 (diff)
downloadopenembedded-core-contrib-6ca02e249440b248f9a06686dad7d0445d288b11.tar.gz
distutils3: allow setup.py to be run from a different directory to ${S}
Sometimes setup.py can be buried deep in a source tree. This has traditionally been solved with setting S to the subdirectory in the source. However with the new pseudo changes, some python modules make changes to files beneath ${S}, for example: S = "${WORKDIR}/git/python/pythonmodule" then in setup.py it works with source code in a relative fashion, such as: ../../src This causes pseudo to abort as it isn't tracking the paths. Therefore implement the variable DISTUTILS_SETUP_PATH so that recipes can use: S = "${WORKDIR}/git" DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" inherit distutils3 This allows the full source tree to be monitored, while distutils can run setup.py from a location other than ${S}. Signed-off-by: Jack Mitchell <ml@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.1.bb')
0 files changed, 0 insertions, 0 deletions