cross.patch 1.1 KB

123456789101112131415161718192021222324252627282930
  1. We need to be able to trigger configure's cross code but we don't want
  2. to set cross_prefix as it does other things we don't want. Patch things
  3. so we can do what we need in the target config case.
  4. Upstream-Status: Inappropriate [may be rewritten in a way upstream may accept?]
  5. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
  6. Index: qemu-6.0.0/configure
  7. ===================================================================
  8. --- qemu-6.0.0.orig/configure
  9. +++ qemu-6.0.0/configure
  10. @@ -6371,7 +6371,6 @@ if has $sdl2_config; then
  11. fi
  12. echo "strip = [$(meson_quote $strip)]" >> $cross
  13. echo "windres = [$(meson_quote $windres)]" >> $cross
  14. -if test "$cross_compile" = "yes"; then
  15. cross_arg="--cross-file config-meson.cross"
  16. echo "[host_machine]" >> $cross
  17. if test "$mingw32" = "yes" ; then
  18. @@ -6403,9 +6402,6 @@ if test "$cross_compile" = "yes"; then
  19. else
  20. echo "endian = 'little'" >> $cross
  21. fi
  22. -else
  23. - cross_arg="--native-file config-meson.cross"
  24. -fi
  25. mv $cross config-meson.cross
  26. rm -rf meson-private meson-info meson-logs