qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] build: Replace meson introspection argument with a builddir
@ 2025-02-04 20:10 Joel Granados
  2025-02-24  9:49 ` Thomas Huth
  2025-02-24 10:57 ` Paolo Bonzini
  0 siblings, 2 replies; 7+ messages in thread
From: Joel Granados @ 2025-02-04 20:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Alex Bennée, Thomas Huth, Joel Granados

Replace the meson introspect argument with the build directory instead
of the meson.build file. The introspect command accepts an optional
build directory not a file.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
---
For some reason this causes an error when I "remote" compile qemu.
In any case, the introspect only accepts directories, so having it point
the to the meson.build file is a mistake.

Comments are greatly appreciated
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index b65b0bd41a..da88d9bb31 100644
--- a/Makefile
+++ b/Makefile
@@ -129,7 +129,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
-	$(MESON) introspect --buildoptions $(SRC_PATH)/meson.build | $(PYTHON) \
+	$(MESON) introspect --buildoptions $(BUILD_DIR) | $(PYTHON) \
 	  scripts/meson-buildoptions.py > $@.tmp && mv $@.tmp $@
 endif
 

---
base-commit: d922088eb4ba6bc31a99f17b32cf75e59dd306cd
change-id: 20250204-jag-fix_meson-43db4d290315

Best regards,
-- 
Joel Granados <joel.granados@kernel.org>




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-02-28 14:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 20:10 [PATCH] build: Replace meson introspection argument with a builddir Joel Granados
2025-02-24  9:49 ` Thomas Huth
2025-02-24 10:57 ` Paolo Bonzini
2025-02-27 10:07   ` Joel Granados
2025-02-27 10:19     ` Paolo Bonzini
2025-02-27 10:38       ` Peter Maydell
2025-02-28 14:11         ` Joel Granados

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).