Discussion:
[PATCH] MIPS: DTS: add a .gitignore file to ignore .dtb
Florian Fainelli
2014-10-03 00:29:47 UTC
Permalink
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 <***@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
David Daney
2014-10-03 01:26:22 UTC
Permalink
Post by 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/.
---
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
Florian Fainelli
2014-10-03 02:09:24 UTC
Permalink
Post by David Daney
Post by 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/.
---
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.
Post by David Daney
If not, this could be moved to a higher level (perhaps top level) .gitignore
Good point, thanks!
Post by David Daney
David Daney
Loading...