view stubdom/c/Makefile @ 19244:e5c696aaf2a6

x86, hvm: gcc44 build fix.

Broken constrain in inline asm. Bytewise access works with a, b, c, d
registers only, thus "r" is wrong, it must be "q". gcc 4.4 tries to
use the si register, which doesn't work and thus fails the build.

From: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Sun Mar 01 14:58:07 2009 +0000 (2009-03-01)
parents 7e00ebe2b7fd
line source
1 XEN_ROOT = ../..
3 include $(XEN_ROOT)/Config.mk
5 all: main.a
7 main.a: main.o
8 $(AR) cr $@ $^
10 clean:
11 rm -f *.a *.o