Browse Source

build: remove CONFIG_LIBDECNUMBER

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>
tags/v2.11.0-rc0
Paolo Bonzini 1 year ago
parent
commit
7271a81949

+ 0
- 6
Makefile.target View File

@@ -102,12 +102,6 @@ obj-y += target/$(TARGET_BASE_ARCH)/
102 102
 obj-y += disas.o
103 103
 obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
104 104
 
105
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decContext.o
106
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decNumber.o
107
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/dpd/decimal32.o
108
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/dpd/decimal64.o
109
-obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/dpd/decimal128.o
110
-
111 105
 #########################################################
112 106
 # Linux user emulator target
113 107
 

+ 0
- 1
default-configs/ppc-linux-user.mak View File

@@ -1,2 +1 @@
1 1
 # Default configuration for ppc-linux-user
2
-CONFIG_LIBDECNUMBER=y

+ 0
- 1
default-configs/ppc-softmmu.mak View File

@@ -46,7 +46,6 @@ CONFIG_E500=y
46 46
 CONFIG_OPENPIC_KVM=$(call land,$(CONFIG_E500),$(CONFIG_KVM))
47 47
 CONFIG_PLATFORM_BUS=y
48 48
 CONFIG_ETSEC=y
49
-CONFIG_LIBDECNUMBER=y
50 49
 CONFIG_SM501=y
51 50
 # For PReP
52 51
 CONFIG_SERIAL_ISA=y

+ 0
- 1
default-configs/ppc64-linux-user.mak View File

@@ -1,2 +1 @@
1 1
 # Default configuration for ppc64-linux-user
2
-CONFIG_LIBDECNUMBER=y

+ 0
- 1
default-configs/ppc64-softmmu.mak View File

@@ -51,7 +51,6 @@ CONFIG_E500=y
51 51
 CONFIG_OPENPIC_KVM=$(call land,$(CONFIG_E500),$(CONFIG_KVM))
52 52
 CONFIG_PLATFORM_BUS=y
53 53
 CONFIG_ETSEC=y
54
-CONFIG_LIBDECNUMBER=y
55 54
 CONFIG_SM501=y
56 55
 # For pSeries
57 56
 CONFIG_XICS=$(CONFIG_PSERIES)

+ 0
- 1
default-configs/ppc64abi32-linux-user.mak View File

@@ -1,2 +1 @@
1 1
 # Default configuration for ppc64abi32-linux-user
2
-CONFIG_LIBDECNUMBER=y

+ 0
- 1
default-configs/ppc64le-linux-user.mak View File

@@ -1,2 +1 @@
1 1
 # Default configuration for ppc64le-linux-user
2
-CONFIG_LIBDECNUMBER=y

+ 0
- 1
default-configs/ppcemb-softmmu.mak View File

@@ -15,5 +15,4 @@ CONFIG_PTIMER=y
15 15
 CONFIG_I8259=y
16 16
 CONFIG_XILINX=y
17 17
 CONFIG_XILINX_ETHLITE=y
18
-CONFIG_LIBDECNUMBER=y
19 18
 CONFIG_SM501=y

+ 5
- 0
libdecnumber/Makefile.objs View File

@@ -0,0 +1,5 @@
1
+obj-y += decContext.o
2
+obj-y += decNumber.o
3
+obj-y += dpd/decimal32.o
4
+obj-y += dpd/decimal64.o
5
+obj-y += dpd/decimal128.o

+ 1
- 0
target/ppc/Makefile.objs View File

@@ -15,5 +15,6 @@ obj-y += int_helper.o
15 15
 obj-y += timebase_helper.o
16 16
 obj-y += misc_helper.o
17 17
 obj-y += mem_helper.o
18
+obj-y += ../../libdecnumber/
18 19
 obj-$(CONFIG_USER_ONLY) += user_only_helper.o
19 20
 obj-y += gdbstub.o

Loading…
Cancel
Save