Commit 86a8b3a207ac34f453607a52a4d702bb67789ea2

Authored by Dan Murphy
Committed by Tom Rini
1 parent 84977e44eb

spl: common: Properly ignore spl/Makefile in .gitignore

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -58,8 +58,8 @@
58 58 /errlog
59 59 /reloc_off
60 60  
61   -/spl/
62 61 !/spl/Makefile
  62 +/spl/*
63 63 /tpl/
64 64  
65 65 /include/generated/