All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: DTS: add a .gitignore file to ignore .dtb
@ 2014-10-03  0:29 Florian Fainelli
  2014-10-03  1:26 ` David Daney
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Fainelli @ 2014-10-03  0:29 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf, blogic, Florian Fainelli

Build for Broadcom XLP revealed that we are not ignoring DTB files and
that would clobber the git status output. Fix that by adding a
.gitignore file in arch/mips/boot/dts/.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 arch/mips/boot/dts/.gitignore | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 arch/mips/boot/dts/.gitignore

diff --git a/arch/mips/boot/dts/.gitignore b/arch/mips/boot/dts/.gitignore
new file mode 100644
index 000000000000..b60ed208c779
--- /dev/null
+++ b/arch/mips/boot/dts/.gitignore
@@ -0,0 +1 @@
+*.dtb
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: DTS: add a .gitignore file to ignore .dtb
  2014-10-03  0:29 [PATCH] MIPS: DTS: add a .gitignore file to ignore .dtb Florian Fainelli
@ 2014-10-03  1:26 ` David Daney
  2014-10-03  2:09   ` Florian Fainelli
  0 siblings, 1 reply; 3+ messages in thread
From: David Daney @ 2014-10-03  1:26 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: linux-mips, ralf, blogic

On 10/02/2014 05:29 PM, Florian Fainelli wrote:
> Build for Broadcom XLP revealed that we are not ignoring DTB files and
> that would clobber the git status output. Fix that by adding a
> .gitignore file in arch/mips/boot/dts/.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>   arch/mips/boot/dts/.gitignore | 1 +
>   1 file changed, 1 insertion(+)
>   create mode 100644 arch/mips/boot/dts/.gitignore
>
> diff --git a/arch/mips/boot/dts/.gitignore b/arch/mips/boot/dts/.gitignore
> new file mode 100644
> index 000000000000..b60ed208c779
> --- /dev/null
> +++ b/arch/mips/boot/dts/.gitignore
> @@ -0,0 +1 @@
> +*.dtb

Do we check in .dtb files anywhere in the kernel tree?

If not, this could be moved to a higher level (perhaps top level) .gitignore

David Daney


>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: DTS: add a .gitignore file to ignore .dtb
  2014-10-03  1:26 ` David Daney
@ 2014-10-03  2:09   ` Florian Fainelli
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2014-10-03  2:09 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips, ralf, blogic

On 10/02/2014 06:26 PM, David Daney wrote:
> On 10/02/2014 05:29 PM, Florian Fainelli wrote:
>> Build for Broadcom XLP revealed that we are not ignoring DTB files and
>> that would clobber the git status output. Fix that by adding a
>> .gitignore file in arch/mips/boot/dts/.
>>
>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
>> ---
>>   arch/mips/boot/dts/.gitignore | 1 +
>>   1 file changed, 1 insertion(+)
>>   create mode 100644 arch/mips/boot/dts/.gitignore
>>
>> diff --git a/arch/mips/boot/dts/.gitignore
>> b/arch/mips/boot/dts/.gitignore
>> new file mode 100644
>> index 000000000000..b60ed208c779
>> --- /dev/null
>> +++ b/arch/mips/boot/dts/.gitignore
>> @@ -0,0 +1 @@
>> +*.dtb
> 
> Do we check in .dtb files anywhere in the kernel tree?

Every architecture supporting DT basically added its own .gitignore file
to all relevant directories, but I see no reason why this could not be
generalized.

> 
> If not, this could be moved to a higher level (perhaps top level)
> .gitignore

Good point, thanks!

> 
> David Daney
> 
> 
>>
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-03  2:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03  0:29 [PATCH] MIPS: DTS: add a .gitignore file to ignore .dtb Florian Fainelli
2014-10-03  1:26 ` David Daney
2014-10-03  2:09   ` Florian Fainelli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.