]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
build: remove CONFIG_LIBDECNUMBER
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Jul 2017 09:51:41 +0000 (11:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Oct 2017 16:03:52 +0000 (18:03 +0200)
It is used by all PPC targets; we can give the directory its own
Makefile.objs file, and include it directly from target/ppc.
target/s390 can do the same when it starts using it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile.target
default-configs/ppc-linux-user.mak
default-configs/ppc-softmmu.mak
default-configs/ppc64-linux-user.mak
default-configs/ppc64-softmmu.mak
default-configs/ppc64abi32-linux-user.mak
default-configs/ppc64le-linux-user.mak
default-configs/ppcemb-softmmu.mak
libdecnumber/Makefile.objs [new file with mode: 0644]
target/ppc/Makefile.objs

index a4b292d2e28280f295c71d225aa9e6e82f13ea18..e4244c188adeed6734d59ce7bc7c4f9a9984dc8e 100644 (file)
@@ -102,12 +102,6 @@ obj-y += target/$(TARGET_BASE_ARCH)/
 obj-y += disas.o
 obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
 
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decContext.o
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decNumber.o
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/dpd/decimal32.o
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/dpd/decimal64.o
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/dpd/decimal128.o
-
 #########################################################
 # Linux user emulator target
 
index 260ba4183669a413ff6402ce3f0d2e7071e520ef..6273df2930250e4921fac15f6efc81f757d91882 100644 (file)
@@ -1,2 +1 @@
 # Default configuration for ppc-linux-user
-CONFIG_LIBDECNUMBER=y
index d7a37558819a90e96aa4924460aa6e8154caaa90..bb225c6e46400f35660391ea0ae0f95150412da9 100644 (file)
@@ -46,7 +46,6 @@ CONFIG_E500=y
 CONFIG_OPENPIC_KVM=$(call land,$(CONFIG_E500),$(CONFIG_KVM))
 CONFIG_PLATFORM_BUS=y
 CONFIG_ETSEC=y
-CONFIG_LIBDECNUMBER=y
 CONFIG_SM501=y
 # For PReP
 CONFIG_SERIAL_ISA=y
index e731ce016eed6ccc827f19592de33373d0b6b113..422d3fbaeb87fd477c093a06ba7b810b56e0e392 100644 (file)
@@ -1,2 +1 @@
 # Default configuration for ppc64-linux-user
-CONFIG_LIBDECNUMBER=y
index 9086475bf6768c29c07378e0ca6ab18285f552d4..d1b3a6dd50f8686554caa7f2f0a3595808612eb3 100644 (file)
@@ -51,7 +51,6 @@ CONFIG_E500=y
 CONFIG_OPENPIC_KVM=$(call land,$(CONFIG_E500),$(CONFIG_KVM))
 CONFIG_PLATFORM_BUS=y
 CONFIG_ETSEC=y
-CONFIG_LIBDECNUMBER=y
 CONFIG_SM501=y
 # For pSeries
 CONFIG_XICS=$(CONFIG_PSERIES)
index c244d07d56a64ff25844e3973726dcfd044f57b3..1c657ec9bb29d0723d30f1e7583f381d21d29f97 100644 (file)
@@ -1,2 +1 @@
 # Default configuration for ppc64abi32-linux-user
-CONFIG_LIBDECNUMBER=y
index 4ba4eae6cea050ee3dec2e131f869d7da0737a1c..63f4269023044f48fa881ccb434692ae2d8981dc 100644 (file)
@@ -1,2 +1 @@
 # Default configuration for ppc64le-linux-user
-CONFIG_LIBDECNUMBER=y
index 635923a16654ff87451c818e4b6ada370a836458..13917fb7a3de9c50d4a57c208497076fe7aabf52 100644 (file)
@@ -15,5 +15,4 @@ CONFIG_PTIMER=y
 CONFIG_I8259=y
 CONFIG_XILINX=y
 CONFIG_XILINX_ETHLITE=y
-CONFIG_LIBDECNUMBER=y
 CONFIG_SM501=y
diff --git a/libdecnumber/Makefile.objs b/libdecnumber/Makefile.objs
new file mode 100644 (file)
index 0000000..d81db04
--- /dev/null
@@ -0,0 +1,5 @@
+obj-y += decContext.o
+obj-y += decNumber.o
+obj-y += dpd/decimal32.o
+obj-y += dpd/decimal64.o
+obj-y += dpd/decimal128.o
index f92ba67ebd5157309d810ae807987f35cc6576f0..e8fa18ce13d118650380283e6abab27dbe6bfcda 100644 (file)
@@ -15,5 +15,6 @@ obj-y += int_helper.o
 obj-y += timebase_helper.o
 obj-y += misc_helper.o
 obj-y += mem_helper.o
+obj-y += ../../libdecnumber/
 obj-$(CONFIG_USER_ONLY) += user_only_helper.o
 obj-y += gdbstub.o