[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] build: remove CONFIG_LIBDECNUMBER
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] build: remove CONFIG_LIBDECNUMBER |
Date: |
Tue, 10 Oct 2017 16:57:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 10/10/2017 16:47, Richard Henderson wrote:
> On 10/10/2017 03:26 AM, Paolo Bonzini wrote:
>> It is used only by PPC TCG, so just move it in target/ppc/Makefile.objs
>>
>> Signed-off-by: Paolo Bonzini <address@hidden>
>
> FWIW, it *should* be used by target/s390x as well.
>
>> diff --git a/target/ppc/Makefile.objs b/target/ppc/Makefile.objs
>> index f92ba67ebd..ba61012bef 100644
>> --- a/target/ppc/Makefile.objs
>> +++ b/target/ppc/Makefile.objs
>> @@ -15,5 +15,10 @@ obj-y += int_helper.o
>> obj-y += timebase_helper.o
>> obj-y += misc_helper.o
>> obj-y += mem_helper.o
>> +obj-y += ../../libdecnumber/decContext.o
>> +obj-y += ../../libdecnumber/decNumber.o
>> +obj-y += ../../libdecnumber/dpd/decimal32.o
>> +obj-y += ../../libdecnumber/dpd/decimal64.o
>> +obj-y += ../../libdecnumber/dpd/decimal128.o
>> obj-$(CONFIG_USER_ONLY) += user_only_helper.o
>> obj-y += gdbstub.o
>
> I suppose this isn't horrible, if it needed to be replicated.
If it has to be replicated, it should be
obj-y += ../../libdecnumber/
I'll post v2.
Paolo