summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunfeng Dong <junfeng.dong@intel.com>2013-11-19 19:14:41 +0800
committerJunfeng Dong <junfeng.dong@intel.com>2013-11-19 19:14:41 +0800
commit7ccdb8880dff22ca0bd4516d9973c55397c08e22 (patch)
tree54bf1bc65ad351ee5c1b8e9967d6101ef471af39
parent216146b6302e02c9758c30b0ec0581362172fabf (diff)
downloadqemu-7ccdb8880dff22ca0bd4516d9973c55397c08e22.tar.gz
qemu-7ccdb8880dff22ca0bd4516d9973c55397c08e22.tar.bz2
qemu-7ccdb8880dff22ca0bd4516d9973c55397c08e22.zip
Change-Id: I75ecb5ef6952d1083c030f5e48ba2a24e4d6f4a1 Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
-rw-r--r--linux-user/binfmt.c2
-rw-r--r--packaging/baselibs.conf2
2 files changed, 3 insertions, 1 deletions
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