Skip to contentSkip to conversation

ARM: add device tree blobs to .gitignore

PATCH New Uwe Kleine-König 3 participants 4 messages Dec 13, 2011 – Dec 15, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: add device tree blobs to .gitignore

*.dtb files are a build result and so should be ignored.

---
 arch/arm/boot/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/boot/.gitignore +1 -0
index ce1c5ff..3c79f85 100644
@@ -3,3 +3,4 @@ zImage
 xipImage
 bootpImage
 uImage
+*.dtb
Signature · 1 line
1.7.7.3
#1 lore raw

PATCH 1/1 ARM: add device tree blobs to .gitignore

Quoted 4 lines · Uwe Kleine-K?nig

*.dtb files are a build result and so should be ignored.

---

Signature · 2 lines
Regards,
Shawn
Quoted 14 lines
 arch/arm/boot/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/boot/.gitignore +1 -0
index ce1c5ff..3c79f85 100644
@@ -3,3 +3,4 @@ zImage
 xipImage
 bootpImage
 uImage
+*.dtb
Signature · 1 line
1.7.7.3
#2 lore raw

PATCH 1/1 ARM: add device tree blobs to .gitignore

In reply to Uwe Kleine-König
Quoted 3 lines · Uwe Kleine-K??nig

*.dtb files are a build result and so should be ignored.

Should this actually be global?

It looks like at least powerpc, microblaze and openrisc may generate .dtbs and I don't see any local .gitignore entries for those.

Since the dtc tool itself is global (i.e., in an arch-independent scripts dir instead of somewhere arch-specific), it could be argued that other related stuff should be global too.

Cheers
---Dave

#3 lore raw

PATCH 1/1 ARM: add device tree blobs to .gitignore

Quoted 5 lines · Dave Martin
Quoted 3 lines · Uwe Kleine-K??nig

*.dtb files are a build result and so should be ignored.

Quoted 8 lines

Should this actually be global?

It looks like at least powerpc, microblaze and openrisc may generate .dtbs and I don't see any local .gitignore entries for those.

Since the dtc tool itself is global (i.e., in an arch-independent scripts dir instead of somewhere arch-specific), it could be argued that other related stuff should be global too.

hmm, I'm not convinced. The build system puts ARM dtb images only in arch/arm/boot, so IMHO they should only be ignored there. If the other arch don't .gitignore the dtb files they should get a specific entry, too.

Having said that, adding a / to my patch would be the right thing to do. (i.e.

	+/*.dtb

) The other entries could get a slash, too. Maybe a bit over engineered.

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |