summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-03-11 05:58:53 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-16 23:32:40 +0100
commit08164e4c9d8347b06b170b73228aacbc701314ce (patch)
tree4407ebd5d67861936cceec57874e89b7151a79b0
parentb9534442f0ebfae64c0c429750ba95c20934b956 (diff)
downloadmeta-openembedded-08164e4c9d8347b06b170b73228aacbc701314ce.tar.gz
meson.bbclass: Make changes to meson.build files trigger reconfiguration
When externalsrc.bbclass is used, any changes to meson.build files should trigger do_configure to be re-run. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/classes/meson.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index 1362fd22b..8da06da7f 100644
--- a/meta-oe/classes/meson.bbclass
+++ b/meta-oe/classes/meson.bbclass
@@ -72,6 +72,8 @@ endian = '${MESON_TARGET_ENDIAN}'
72EOF 72EOF
73} 73}
74 74
75CONFIGURE_FILES = "meson.build"
76
75meson_do_configure() { 77meson_do_configure() {
76 if ! meson ${MESONOPTS} "${MESON_SOURCEPATH}" "${B}" --cross-file ${WORKDIR}/meson.cross ${EXTRA_OEMESON}; then 78 if ! meson ${MESONOPTS} "${MESON_SOURCEPATH}" "${B}" --cross-file ${WORKDIR}/meson.cross ${EXTRA_OEMESON}; then
77 cat ${B}/meson-logs/meson-log.txt 79 cat ${B}/meson-logs/meson-log.txt