diff mbox

arm64: dts: add <dt-bindings/> symlink

Message ID 1389346197-5127-1-git-send-email-pankaj.dubey@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Pankaj Dubey Jan. 10, 2014, 9:29 a.m. UTC
Add symlink to include/dt-bindings from arch/arm64/boot/dts/include/ to
match the ones in ARM architectures so that preprocessed device
tree files can include various useful constant definitions.

See commit c58299a (kbuild: create an "include chroot" for DT bindings)
merged in v3.10-rc1 for details.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
---
 arch/arm64/boot/dts/include/dt-bindings |    1 +
 1 file changed, 1 insertion(+)
 create mode 120000 arch/arm64/boot/dts/include/dt-bindings

\ No newline at end of file

Comments

Lothar Waßmann Jan. 10, 2014, 9:22 a.m. UTC | #1
Hi,

Pankaj Dubey wrote:
> Add symlink to include/dt-bindings from arch/arm64/boot/dts/include/ to
> match the ones in ARM architectures so that preprocessed device
> tree files can include various useful constant definitions.
> 
> See commit c58299a (kbuild: create an "include chroot" for DT bindings)
> merged in v3.10-rc1 for details.
> 
> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> ---
>  arch/arm64/boot/dts/include/dt-bindings |    1 +
>  1 file changed, 1 insertion(+)
>  create mode 120000 arch/arm64/boot/dts/include/dt-bindings
> 
> diff --git a/arch/arm64/boot/dts/include/dt-bindings b/arch/arm64/boot/dts/include/dt-bindings
> new file mode 120000
> index 0000000..08c00e4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/include/dt-bindings
> @@ -0,0 +1 @@
> +../../../../../include/dt-bindings
> \ No newline at end of file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Lothar Waßmann
Pankaj Dubey Jan. 10, 2014, 10:46 a.m. UTC | #2
On 01/10/2014 06:22 PM, Lothar Waßmann wrote:
> Hi,
>
> Pankaj Dubey wrote:
>> Add symlink to include/dt-bindings from arch/arm64/boot/dts/include/ to
>> match the ones in ARM architectures so that preprocessed device
>> tree files can include various useful constant definitions.
>>
>> See commit c58299a (kbuild: create an "include chroot" for DT bindings)
>> merged in v3.10-rc1 for details.
>>
>> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
>> ---
>>   arch/arm64/boot/dts/include/dt-bindings |    1 +
>>   1 file changed, 1 insertion(+)
>>   create mode 120000 arch/arm64/boot/dts/include/dt-bindings
>>
>> diff --git a/arch/arm64/boot/dts/include/dt-bindings b/arch/arm64/boot/dts/include/dt-bindings
>> new file mode 120000
>> index 0000000..08c00e4
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/include/dt-bindings
>> @@ -0,0 +1 @@
>> +../../../../../include/dt-bindings
>> \ No newline at end of file
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I just created symlink file to "include/dt-bindings", and when created 
patch it is showing this line
at the end of patch. I do not have much idea why this came in patch? But 
when I checked similar patches
it looks like it is required.
> Lothar Waßmann
Lothar Waßmann Jan. 10, 2014, 10:54 a.m. UTC | #3
Hi,

Pankaj Dubey wrote:
> On 01/10/2014 06:22 PM, Lothar Waßmann wrote:
> > Hi,
> >
> > Pankaj Dubey wrote:
> >> Add symlink to include/dt-bindings from arch/arm64/boot/dts/include/ to
> >> match the ones in ARM architectures so that preprocessed device
> >> tree files can include various useful constant definitions.
> >>
> >> See commit c58299a (kbuild: create an "include chroot" for DT bindings)
> >> merged in v3.10-rc1 for details.
> >>
> >> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> >> ---
> >>   arch/arm64/boot/dts/include/dt-bindings |    1 +
> >>   1 file changed, 1 insertion(+)
> >>   create mode 120000 arch/arm64/boot/dts/include/dt-bindings
> >>
> >> diff --git a/arch/arm64/boot/dts/include/dt-bindings b/arch/arm64/boot/dts/include/dt-bindings
> >> new file mode 120000
> >> index 0000000..08c00e4
> >> --- /dev/null
> >> +++ b/arch/arm64/boot/dts/include/dt-bindings
> >> @@ -0,0 +1 @@
> >> +../../../../../include/dt-bindings
> >> \ No newline at end of file
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> I just created symlink file to "include/dt-bindings", and when created 
> patch it is showing this line
> at the end of patch. I do not have much idea why this came in patch? But 
> when I checked similar patches
> it looks like it is required.
>
I noticed after sending the email, that the file in question was
actually only a symlink. The message seems to be a 'feature' of
'patch' when dealing with symlinks.


Lothar Waßmann
Pankaj Dubey Jan. 27, 2014, 11:04 a.m. UTC | #4
On 01/10/2014 07:54 PM, Lothar Waßmann wrote:
> Hi,
>
> Pankaj Dubey wrote:
>> On 01/10/2014 06:22 PM, Lothar Waßmann wrote:
>>> Hi,
>>>
>>> Pankaj Dubey wrote:
>>>> Add symlink to include/dt-bindings from arch/arm64/boot/dts/include/ to
>>>> match the ones in ARM architectures so that preprocessed device
>>>> tree files can include various useful constant definitions.
>>>>
>>>> See commit c58299a (kbuild: create an "include chroot" for DT bindings)
>>>> merged in v3.10-rc1 for details.
>>>>
>>>> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
>>>> ---
>>>>    arch/arm64/boot/dts/include/dt-bindings |    1 +
>>>>    1 file changed, 1 insertion(+)
>>>>    create mode 120000 arch/arm64/boot/dts/include/dt-bindings
>>>>
>>>> diff --git a/arch/arm64/boot/dts/include/dt-bindings b/arch/arm64/boot/dts/include/dt-bindings
>>>> new file mode 120000
>>>> index 0000000..08c00e4
>>>> --- /dev/null
>>>> +++ b/arch/arm64/boot/dts/include/dt-bindings
>>>> @@ -0,0 +1 @@
>>>> +../../../../../include/dt-bindings
>>>> \ No newline at end of file
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> I just created symlink file to "include/dt-bindings", and when created
>> patch it is showing this line
>> at the end of patch. I do not have much idea why this came in patch? But
>> when I checked similar patches
>> it looks like it is required.
>>
> I noticed after sending the email, that the file in question was
> actually only a symlink. The message seems to be a 'feature' of
> 'patch' when dealing with symlinks.
>
>
> Lothar Waßmann
Gentle Ping.

Best Regards,
Pankaj Dubey
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/include/dt-bindings b/arch/arm64/boot/dts/include/dt-bindings
new file mode 120000
index 0000000..08c00e4
--- /dev/null
+++ b/arch/arm64/boot/dts/include/dt-bindings
@@ -0,0 +1 @@ 
+../../../../../include/dt-bindings