From 7ccdb8880dff22ca0bd4516d9973c55397c08e22 Mon Sep 17 00:00:00 2001 From: Junfeng Dong Date: Tue, 19 Nov 2013 19:14:41 +0800 Subject: enable 32 bit qemu for Tizen. Change-Id: I75ecb5ef6952d1083c030f5e48ba2a24e4d6f4a1 Signed-off-by: Junfeng Dong --- linux-user/binfmt.c | 2 ++ packaging/baselibs.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/linux-user/binfmt.c b/linux-user/binfmt.c index 87dc4c672..170cc19c6 100644 --- a/linux-user/binfmt.c +++ b/linux-user/binfmt.c @@ -7,6 +7,8 @@ #ifdef __x86_64__ #define ARCH_NAME "x86_64" +#elif defined __i386__ +#define ARCH_NAME "i586" #endif int main(int argc, char **argv, char **envp) diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf index 736d19997..d1a8ff3bd 100644 --- a/packaging/baselibs.conf +++ b/packaging/baselibs.conf @@ -1,4 +1,4 @@ -arch x86_64 targets armv7l:cross-arm +arch i686 targets armv7l:cross-arm targettype cross-arm package qemu-linux-user -- cgit v1.2.3