aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
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 /meta-oe/classes
parentb9534442f0ebfae64c0c429750ba95c20934b956 (diff)
downloadmeta-openembedded-08164e4c9d8347b06b170b73228aacbc701314ce.tar.gz
meta-openembedded-08164e4c9d8347b06b170b73228aacbc701314ce.tar.bz2
meta-openembedded-08164e4c9d8347b06b170b73228aacbc701314ce.zip
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>
Diffstat (limited to 'meta-oe/classes')
-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}'
EOF
}
+CONFIGURE_FILES = "meson.build"
+
meson_do_configure() {
if ! meson ${MESONOPTS} "${MESON_SOURCEPATH}" "${B}" --cross-file ${WORKDIR}/meson.cross ${EXTRA_OEMESON}; then
cat ${B}/meson-logs/meson-log.txt