]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
spl: common: Properly ignore spl/Makefile in .gitignore
authorDan Murphy <dmurphy@ti.com>
Thu, 16 Jan 2014 17:23:28 +0000 (11:23 -0600)
committerTom Rini <trini@ti.com>
Mon, 20 Jan 2014 15:09:51 +0000 (10:09 -0500)
The spl directory is ignored by git as these objects are created
during spl creation.  The only file not created is the Makefile.

This file can be modified and checked in via git.

Due to the order of rule precedence having the whole directory
ignored first then indicating not to ignore the Makefile is not correct
the message to force adding the Makefile is still shown.

So reorder the .gitignore for the Makefile and indicate that the Makefile
does not need to be ignored first and then indicate everything else in spl
should be ignored after wards.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
.gitignore

index 97f7db069a6ffb213cdd5b8db577b2a13be84171..d7d55383acbe6a35fa74c2b4cd669ace3d59ed23 100644 (file)
@@ -58,8 +58,8 @@
 /errlog
 /reloc_off
 
-/spl/
 !/spl/Makefile
+/spl/*
 /tpl/
 
 /include/generated/