ARM: add device tree blobs to .gitignore
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
@@ -3,3 +3,4 @@ zImage xipImage bootpImage uImage +*.dtb
Signature · 1 line
1.7.7.3
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.
Signed-off-by Uwe Kleine-K?nig <[email protected]>---
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@@ -3,3 +3,4 @@ zImage xipImage bootpImage uImage +*.dtbSignature · 1 line
1.7.7.3
PATCH 1/1 ARM: add device tree blobs to .gitignore
In reply to Uwe Kleine-KönigQuoted 3 lines · Uwe Kleine-K??nig
*.dtb files are a build result and so should be ignored.
Signed-off-by Uwe Kleine-K??nig <[email protected]>
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
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.
Signed-off-by Uwe Kleine-K??nig <[email protected]>
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/ |