mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
Create a .gitignore file in the CANONICAL_O directory
This .gitignore file ignores all files in an output directory and hence doesn't change the git status. Remove "/output" entry from the main .gitignore file as it is already handled by this general approach. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
9a66711be1
commit
a14c862c08
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,3 @@
|
|||||||
/output
|
|
||||||
/dl
|
/dl
|
||||||
/.auto.deps
|
/.auto.deps
|
||||||
/.config.cmd
|
/.config.cmd
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -63,6 +63,9 @@ ifneq ($(findstring @,$(CANONICAL_O)),)
|
|||||||
$(error The build directory can not contain a '@')
|
$(error The build directory can not contain a '@')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Create a default .gitignore file that ignores everything
|
||||||
|
$(shell echo "*" > "$(CANONICAL_O)/.gitignore")
|
||||||
|
|
||||||
CANONICAL_CURDIR = $(realpath $(CURDIR))
|
CANONICAL_CURDIR = $(realpath $(CURDIR))
|
||||||
|
|
||||||
REQ_UMASK = 0022
|
REQ_UMASK = 0022
|
||||||
|
|||||||
Reference in New Issue
Block a user