aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-08-03 14:13:39 -0700
committerTom Rini <tom_rini@mentor.com>2011-08-03 14:13:39 -0700
commit99c2e4faac16aff416aabc92c7582acddefa8599 (patch)
tree08c3454e8df3e2f8d4d79d84987870acb3661ebb /meta/recipes-devtools/qemu
parent6c43ca6fc6a7fffc84cf28684cac0c0eb4129902 (diff)
downloadopenembedded-core-contrib-trini/WIP-fix-build_cc-not-being-single-word.tar.gz
openembedded-core-contrib-trini/WIP-fix-build_cc-not-being-single-word.tar.bz2
openembedded-core-contrib-trini/WIP-fix-build_cc-not-being-single-word.zip
WIP: Updates to use BUILD_CC and not 'gcc' and allow BUILD_CC to have many wordstrini/WIP-fix-build_cc-not-being-single-word
Build-tested for qemux86 and having -m64 in BUILD_CC_ARCH Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index ac8a3eb10d..526a3e4f8d 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -16,6 +16,10 @@ EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror --di
#EXTRA_OECONF += "--disable-sdl"
+# We cannot use CCLD without further rewrites of qemu's Makefiles and
+# we must ensure ld is linking for 64bit on 64bit.
+EXTRA_OEMAKE_virtclass-native = '${@base_contains("OVERRIDES", "x86_64", "LD='ld -melf_x86_64'", "", d)}'
+EXTRA_OEMAKE_virtclass-nativesdk = '${@base_contains("OVERRIDES", "x86_64", "LD='ld -melf_x86_64'", "", d)}'
inherit autotools