diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 16:27:31 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 16:27:31 +0000 |
commit | 992f48a036cccf7101e31bf3e5d901ce5320e886 (patch) | |
tree | 5b7931bab0c9d92c266f87c0457b864cdd8b256b /Makefile.target | |
parent | Properly implement non-execute bit on PowerPC segments and PTEs. (diff) | |
download | qemu-kvm-992f48a036cccf7101e31bf3e5d901ce5320e886.tar.gz qemu-kvm-992f48a036cccf7101e31bf3e5d901ce5320e886.tar.bz2 qemu-kvm-992f48a036cccf7101e31bf3e5d901ce5320e886.zip |
Support for 32 bit ABI on 64 bit targets (only enabled Sparc64)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3396 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target index e26491938..f5b6447fa 100644 --- a/Makefile.target +++ b/Makefile.target @@ -31,7 +31,10 @@ CPPFLAGS+=-I$(SRC_PATH)/darwin-user -I$(SRC_PATH)/darwin-user/$(TARGET_ARCH) endif ifdef CONFIG_LINUX_USER VPATH+=:$(SRC_PATH)/linux-user -CPPFLAGS+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH) +ifndef TARGET_ABI_DIR + TARGET_ABI_DIR=$(TARGET_ARCH) +endif +CPPFLAGS+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) endif BASE_CFLAGS= BASE_LDFLAGS= @@ -66,6 +69,11 @@ ifeq ($(TARGET_ARCH),mips64) TARGET_ARCH2=mips64el endif endif +ifeq ($(TARGET_ARCH),sparc64) + ifeq ($(TARGET_ABI_DIR),sparc) + TARGET_ARCH2=sparc32plus + endif +endif QEMU_USER=qemu-$(TARGET_ARCH2) # system emulator name ifdef CONFIG_SOFTMMU |