From e89001c26b2644cf6db5252272397122db60069b Mon Sep 17 00:00:00 2001 From: Cristian Iorga Date: Mon, 18 Aug 2014 12:44:00 +0300 Subject: qemu: fix Darwin cross-compilation Darwin target will not be detected correctly if qemu is cross-compiled under a Linux host. (From OE-Core rev: 47d1fc9f5c38f3d092937c47bd4c2f45adaa7fe6) Signed-off-by: Cristian Iorga Signed-off-by: Richard Purdie --- .../configure-fix-Darwin-target-detection.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/configure-fix-Darwin-target-detection.patch (limited to 'meta/recipes-devtools/qemu/qemu') diff --git a/meta/recipes-devtools/qemu/qemu/configure-fix-Darwin-target-detection.patch b/meta/recipes-devtools/qemu/qemu/configure-fix-Darwin-target-detection.patch new file mode 100644 index 0000000000..59cdc1c304 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu/configure-fix-Darwin-target-detection.patch @@ -0,0 +1,32 @@ +Upstream-Status: Pending +Signed-off-by: Cristian Iorga + +From 9ac096d8eccf2d56ece646320c282c8369f8337c Mon Sep 17 00:00:00 2001 +From: Cristian Iorga +Date: Tue, 29 Jul 2014 18:35:59 +0300 +Subject: [PATCH] configure: fix Darwin target detection + +fix Darwin target detection for qemu +cross-compilation. + +Signed-off-by: Cristian Iorga +--- + configure | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure b/configure +index 283c71c..1c66a11 100755 +--- a/configure ++++ b/configure +@@ -444,6 +444,8 @@ elif check_define __sun__ ; then + targetos='SunOS' + elif check_define __HAIKU__ ; then + targetos='Haiku' ++elif check_define __APPLE__ ; then ++ targetos='Darwin' + else + targetos=`uname -s` + fi +-- +1.9.1 + -- cgit v1.2.3-54-g00ecf