]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
Makefile: add python script dependency for meson-buildoptions.sh
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 3 Feb 2026 11:51:52 +0000 (11:51 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 6 Feb 2026 12:02:56 +0000 (12:02 +0000)
If we update the script we should also make sure we regenerate the
help text.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20260203115201.2387721-3-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Makefile

index 9fb55dcf330fa4a0c91009dd94f753a30217413c..54547a37b1acdd1a6cea80f72158ab4795512742 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@ Makefile.mtest: build.ninja scripts/mtest2make.py
 
 .PHONY: update-buildoptions
 all update-buildoptions: $(SRC_PATH)/scripts/meson-buildoptions.sh
-$(SRC_PATH)/scripts/meson-buildoptions.sh: $(SRC_PATH)/meson_options.txt
+$(SRC_PATH)/scripts/meson-buildoptions.sh: $(SRC_PATH)/meson_options.txt $(SRC_PATH)/scripts/meson-buildoptions.py
        $(MESON) introspect --buildoptions $(SRC_PATH)/meson.build | $(PYTHON) \
          scripts/meson-buildoptions.py > $@.tmp && mv $@.tmp $@
 endif