Skip to content

Commit d28e7cd

Browse files
committed
try this
1 parent c8c9ea4 commit d28e7cd

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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+

meta-zephyr-sdk/recipes-devtools/xilinx_qemu/xilinx-qemu_git.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
77

88
SRCREV = "01482fa113dcbfa785feb7d513df50d15ec4c5df"
99
SRC_URI = "git://github.com/Xilinx/qemu.git;protocol=https \
10+
file://cross.patch \
1011
"
1112

1213
BBCLASSEXTEND = "native nativesdk"

0 commit comments

Comments
 (0)