mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
python_pep517: set CONFIGURE_FILES
Move the CONFIGURE_FILES assignment from python_mesonpy to the common class, as it isn't specific to mesonpy. Also extend, so that it doesn't clobber existing settings. (From OE-Core rev: 049cd6b62853c020b0c85ccee18638ec58887866) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c31d01e013
commit
dfa34c27bd
@@ -17,8 +17,6 @@ meson_do_qa_configure () {
|
||||
# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
|
||||
MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
|
||||
|
||||
CONFIGURE_FILES = "pyproject.toml"
|
||||
|
||||
DEPENDS += "python3-wheel-native python3-meson-python-native"
|
||||
|
||||
def mesonpy_get_args(d):
|
||||
|
||||
@@ -61,3 +61,6 @@ python_pep517_do_bootstrap_install () {
|
||||
}
|
||||
|
||||
EXPORT_FUNCTIONS do_configure do_compile do_install
|
||||
|
||||
# Tell externalsrc this changing means it needs to reconfigure
|
||||
CONFIGURE_FILES += "pyproject.toml"
|
||||
|
||||
Reference in New Issue
Block a user