Re: [PATCH 1/2] of: change overlay apply input data from EDT to FDT
From: Frank Rowand
Date: Mon Jan 29 2018 - 03:12:23 EST
On 01/28/18 19:21, Masahiro Yamada wrote:
> Hi Frank,
>
> 2018-01-29 11:53 GMT+09:00 <frowand.list@xxxxxxxxx>:
>> From: Frank Rowand <frank.rowand@xxxxxxxx>
>> diff --git a/drivers/of/unittest-data/Makefile b/drivers/of/unittest-data/Makefile
>> index df697976740a..2b7ee68c908e 100644
>> --- a/drivers/of/unittest-data/Makefile
>> +++ b/drivers/of/unittest-data/Makefile
>> @@ -3,6 +3,21 @@ DTC_FLAGS_testcases := -Wno-interrupts_property
>> obj-y += testcases.dtb.o
>>
>> obj-$(CONFIG_OF_OVERLAY) += overlay.dtb.o \
>> + overlay_0.dtb.o \
>> + overlay_1.dtb.o \
>> + overlay_2.dtb.o \
>> + overlay_3.dtb.o \
>> + overlay_4.dtb.o \
>> + overlay_5.dtb.o \
>> + overlay_6.dtb.o \
>> + overlay_7.dtb.o \
>> + overlay_8.dtb.o \
>> + overlay_9.dtb.o \
>> + overlay_10.dtb.o \
>> + overlay_11.dtb.o \
>> + overlay_12.dtb.o \
>> + overlay_13.dtb.o \
>> + overlay_15.dtb.o \
>> overlay_bad_phandle.dtb.o \
>> overlay_bad_symbol.dtb.o \
>> overlay_base.dtb.o
>> @@ -14,6 +29,7 @@ DTC_FLAGS_overlay := -@
>> DTC_FLAGS_overlay_bad_phandle := -@
>> DTC_FLAGS_overlay_bad_symbol := -@
>> DTC_FLAGS_overlay_base := -@
>> +DTC_FLAGS_testcases := -@
>>
>
> This overwrites '-Wno-interrupts_property' a few lines above.
>
> Perhaps, do you want to do like this?
>
> DTC_FLAGS_testcases += -@
>
> or
>
> DTC_FLAGS_testcases := -Wno-interrupts_property -@
Yes, thanks for catching that! I'll fix it.
-Frank