[PATCH] uml: allow building as 32-bit binary on 64bit host
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Thu, 14 Jul 2005 07:33:43 +0000 (00:33 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 14 Jul 2005 16:00:25 +0000 (09:00 -0700)
commit20d0021394c1b070bf04b22c5bc8fdb437edd4c5
tree283d0cd3bfdaec49ed2b29d568f5ceca5e3f1d2a
parentecc354a90af90a80dcaccc750f5f3e5e7c83112d
[PATCH] uml: allow building as 32-bit binary on 64bit host

This patch makes the command:

make ARCH=um SUBARCH=i386

work on x86_64 hosts (with support for building 32-bit binaries).  This is
especially needed since 64-bit UMLs don't support 32-bit emulation for guest
binaries, currently.  This has been tested in all possible cases and works.

Only exception is that I've built but not tested a 64-bit binary, because I
hadn't a 64-bit filesystem available.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Makefile
arch/um/Makefile-i386
arch/um/Makefile-x86_64
arch/um/scripts/Makefile.unmap