diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-03-11 05:58:53 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-16 23:32:40 +0100 |
commit | 08164e4c9d8347b06b170b73228aacbc701314ce (patch) | |
tree | 4407ebd5d67861936cceec57874e89b7151a79b0 | |
parent | b9534442f0ebfae64c0c429750ba95c20934b956 (diff) | |
download | meta-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.bbclass | 2 |
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}' | |||
72 | EOF | 72 | EOF |
73 | } | 73 | } |
74 | 74 | ||
75 | CONFIGURE_FILES = "meson.build" | ||
76 | |||
75 | meson_do_configure() { | 77 | meson_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 |