Re: [PATCH] scripts/dtc: dt_to_config, use full path for dtx_diff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, Jul 18, 2016 at 7:40 PM, Rob Herring <robh+dt@xxxxxxxxxx> wrote:
> On Mon, Jul 18, 2016 at 6:12 PM, Frank Rowand <frowand.list@xxxxxxxxx> wrote:
>> On 07/18/16 15:18, Rob Herring wrote:
>>> On Fri, Jun 24, 2016 at 7:56 PM, Frank Rowand <frowand.list@xxxxxxxxx> wrote:
>>>> From: Frank Rowand <frank.rowand@xxxxxxxxxxx>
>>>>
>>>> Do not require dtx_diff to be in $PATH.
>>>>
>>>> dt_to_config already needs to be run from the root directory of a kernel
>>>> tree so use scripts/dtc/dtx_diff instead of dtx_diff.
>>>
>>> Okay, now I get a bit further. I get this message even if I set my
>>> .config file on the command line:
>>>
>>> grep: ./.config: No such file or directory
>>
>> All of the following work for me:
>>
>>   scripts/dtc/dt_to_config --config .config arch/arm/boot/dts/highbank.dts
>>
>>   scripts/dtc/dt_to_config --config=.config arch/arm/boot/dts/highbank.dts
>>
>>   scripts/dtc/dt_to_config --config ./.config arch/arm/boot/dts/highbank.dts
>>
>>   scripts/dtc/dt_to_config --config=./.config arch/arm/boot/dts/highbank.dts
>>
>> What is the exact command line you are using?
>
> scripts/dtc/dt_to_config -c .build-arm/.config --config-format
> arch/arm/boot/dts/highbank.dts
>
Above command works for me.

>>
>> Just to confirm, you are in the root directory of the kernel source tree
>> and your .config is in the same directory (since you specified "./.config").
>
> I'm in the root, but .config is not.
>
> Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux