|
| 1 | +From aa75635d53ae7d2dd7b1a76aa571e686533ed813 Mon Sep 17 00:00:00 2001 |
| 2 | +Message-ID: <aa75635d53ae7d2dd7b1a76aa571e686533ed813.1739290771.git.michal.simek@amd.com> |
| 3 | +From: Michal Simek < [email protected]> |
| 4 | +Date: Tue, 11 Feb 2025 17:18:42 +0100 |
| 5 | +Subject: [PATCH] cross |
| 6 | + |
| 7 | +We need to be able to trigger configure's cross code but we don't want |
| 8 | +to set cross_prefix as it does other things we don't want. Patch things |
| 9 | +so we can do what we need in the target config case. |
| 10 | + |
| 11 | +Upstream-Status: Inappropriate [may be rewritten in a way upstream may accept?] |
| 12 | +Signed-off-by: Richard Purdie < [email protected]> |
| 13 | +--- |
| 14 | + configure | 4 ---- |
| 15 | + 1 file changed, 4 deletions(-) |
| 16 | + |
| 17 | +diff --git a/configure b/configure |
| 18 | +index 133f4e323512..49fb6bd36a92 100755 |
| 19 | +--- a/configure |
| 20 | ++++ b/configure |
| 21 | +@@ -1897,7 +1897,6 @@ if test "$skip_meson" = no; then |
| 22 | + echo "widl = [$(meson_quote $widl)]" >> $cross |
| 23 | + echo "windres = [$(meson_quote $windres)]" >> $cross |
| 24 | + echo "windmc = [$(meson_quote $windmc)]" >> $cross |
| 25 | +- if test "$cross_compile" = "yes"; then |
| 26 | + cross_arg="--cross-file config-meson.cross" |
| 27 | + echo "[host_machine]" >> $cross |
| 28 | + echo "system = '$targetos'" >> $cross |
| 29 | +@@ -1915,9 +1914,6 @@ if test "$skip_meson" = no; then |
| 30 | + else |
| 31 | + echo "endian = 'little'" >> $cross |
| 32 | + fi |
| 33 | +- else |
| 34 | +- cross_arg="--native-file config-meson.cross" |
| 35 | +- fi |
| 36 | + mv $cross config-meson.cross |
| 37 | + |
| 38 | + rm -rf meson-private meson-info meson-logs |
| 39 | +-- |
| 40 | +2.43.0 |
| 41 | + |
0 commit comments