[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [RFC 07/12] target-ppc: Enable Building of libdecnumber
From: |
Tom Musta |
Subject: |
[Qemu-ppc] [RFC 07/12] target-ppc: Enable Building of libdecnumber |
Date: |
Thu, 13 Mar 2014 10:13:03 -0500 |
This patch enables compilation of the newly added libdecnumber
library code. Object file targets are added to Makefile.target
using the newly added flag CONFIG_LIBDECNUMBER. The flag is added
to the PowerPC targets (ppc[64]-linux-user, ppc[64]-softmmu).
Signed-off-by: Tom Musta <address@hidden>
---
Makefile.target | 5 +++++
default-configs/ppc-linux-user.mak | 1 +
default-configs/ppc-softmmu.mak | 1 +
default-configs/ppc64-linux-user.mak | 1 +
default-configs/ppc64-softmmu.mak | 1 +
5 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index ba12340..8d31da9 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -82,6 +82,11 @@ obj-y += disas.o
obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
+obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decContext.o
+obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decNumber.o
+obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/dpd/decimal64.o
+obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/dpd/decimal128.o
+
#########################################################
# Linux user emulator target
diff --git a/default-configs/ppc-linux-user.mak
b/default-configs/ppc-linux-user.mak
index 6273df2..260ba41 100644
--- a/default-configs/ppc-linux-user.mak
+++ b/default-configs/ppc-linux-user.mak
@@ -1 +1,2 @@
# Default configuration for ppc-linux-user
+CONFIG_LIBDECNUMBER=y
diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
index 07c51ce..33f8d84 100644
--- a/default-configs/ppc-softmmu.mak
+++ b/default-configs/ppc-softmmu.mak
@@ -49,3 +49,4 @@ CONFIG_OPENPIC_KVM=$(and $(CONFIG_E500),$(CONFIG_KVM))
CONFIG_MC146818RTC=y
CONFIG_ETSEC=y
CONFIG_ISA_TESTDEV=y
+CONFIG_LIBDECNUMBER=y
diff --git a/default-configs/ppc64-linux-user.mak
b/default-configs/ppc64-linux-user.mak
index 422d3fb..e731ce0 100644
--- a/default-configs/ppc64-linux-user.mak
+++ b/default-configs/ppc64-linux-user.mak
@@ -1 +1,2 @@
# Default configuration for ppc64-linux-user
+CONFIG_LIBDECNUMBER=y
diff --git a/default-configs/ppc64-softmmu.mak
b/default-configs/ppc64-softmmu.mak
index e2beac6..37a15b7 100644
--- a/default-configs/ppc64-softmmu.mak
+++ b/default-configs/ppc64-softmmu.mak
@@ -58,3 +58,4 @@ CONFIG_I82374=y
CONFIG_I8257=y
CONFIG_MC146818RTC=y
CONFIG_ISA_TESTDEV=y
+CONFIG_LIBDECNUMBER=y
--
1.7.1
- [Qemu-ppc] [RFC 00/12] target-ppc: Decimal Floating Point, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 03/12] target-ppc: Modify dconfig.h to Integrate with QEMU, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 02/12] target-ppc: Prepare libdecnumber for QEMU include structure, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 11/12] target-ppc: Introduce DFP Post Processor Utilities, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 12/12] target-ppc: Introduce DFP Add, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 07/12] target-ppc: Enable Building of libdecnumber,
Tom Musta <=
- [Qemu-ppc] [RFC 06/12] target-ppc: Eliminate Unused Variable in decSetSubnormal, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 05/12] target-ppc: Eliminate redundant declarations, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 10/12] target-ppc: Introduce DFP Helper Utilities, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 04/12] target-ppc: Change gstdint.h to stdint.h, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 08/12] target-ppc: Define FPR Pointer Type for Helpers, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 09/12] target-ppc: Introduce Translation Macros for DFP Arithmetic Forms, Tom Musta, 2014/03/13
- [Qemu-ppc] [RFC 01/12] target-ppc: Introduce libdecnumber Code, Tom Musta, 2014/03/13