kbuild: do not overwrite .gitignore in output directory
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 26 Mar 2019 04:26:58 +0000 (13:26 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 28 Mar 2019 14:46:55 +0000 (23:46 +0900)
commit156e7cbb3ef50d6d58b7975d79802e4ffb024dc2
treeef1b3074be5b09d0d294ef8190bf00ed39a818d9
parent221cc2d27ddc49b3e06d4637db02bf78e70c573c
kbuild: do not overwrite .gitignore in output directory

Commit 3a51ff344204 ("kbuild: gitignore output directory") seemed to
bother people who version-control output directories.

Andre Przywara says:
"Unfortunately this breaks my setup, because I keep a totally separate
git repository in my build directories to track (various versions of)
.config. So .gitignore there is carefully crafted to ignore most build
artefacts, but not .config, for instance."

Link: https://lkml.org/lkml/2019/3/22/1819
Reported-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Makefile