Add .cache.mk and *.dwo into clean target and .gitignore
PATCH 1/1 Add .cache.mk and *.dwo into clean target and .gitignore
In reply to Yixin ZhangHi Yixin,
Quoted 4 lines
These files are generated during build, so and them into clean target and .gitignore
Signed-off-by Yixin Zhang <[email protected]>
Quoted 10 lines
--- .gitignore | 2 ++ include/mk/env_post.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-).gitignore +0
-0
.gitignore core · line 12
Quoted 5 lines
.gitignore +2
-0@@ -8,6 +8,8 @@ core .gdb_history .gdbinit lib*.a +.cache.mk +*.dwo
We're not using DWARF object files (yet), but it doesn't harm to be prepared.
Quoted 7 lines
.gitignore +0
-0/aclocal.m4 autom4te.cacheinclude/mk/env_post.mk +0
-0
include/mk/env_post.mk MAKE_TARGETS ?= $(notdir $(patsubst %.c,%,$(wildcard $(abs_srcdir)/*.c))) · line 60
Quoted 8 lines
include/mk/env_post.mk +1
-1@@ -54,7 +54,7 @@ MAKE_TARGETS ?= $(notdir $(patsubst %.c,%,$(wildcard $(abs_srcdir)/*.c))) MAKE_TARGETS := $(filter-out $(FILTER_OUT_MAKE_TARGETS),$(MAKE_TARGETS)) -CLEAN_TARGETS += $(MAKE_TARGETS) *.o *.pyc +CLEAN_TARGETS += $(MAKE_TARGETS) *.o *.pyc .cache.mk .*.dwo # Majority of the files end up in testcases/bin... INSTALL_DIR ?= testcases/bin
Kind regards,
Petr
PATCH 1/1 Add .cache.mk and *.dwo into clean target and .gitignore
These files are generated during build, so and them into clean target and .gitignore
--- .gitignore | 2 ++ include/mk/env_post.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
.gitignore +2 -0
@@ -8,6 +8,8 @@ core .gdb_history .gdbinit lib*.a +.cache.mk +*.dwo /aclocal.m4 autom4te.cache
include/mk/env_post.mk +1 -1
@@ -54,7 +54,7 @@ MAKE_TARGETS ?= $(notdir $(patsubst %.c,%,$(wildcard $(abs_srcdir)/*.c))) MAKE_TARGETS := $(filter-out $(FILTER_OUT_MAKE_TARGETS),$(MAKE_TARGETS)) -CLEAN_TARGETS += $(MAKE_TARGETS) *.o *.pyc +CLEAN_TARGETS += $(MAKE_TARGETS) *.o *.pyc .cache.mk .*.dwo # Majority of the files end up in testcases/bin... INSTALL_DIR ?= testcases/bin
Signature · 1 line
2.14.1
Zhang
PATCH 1/1 Add .cache.mk and *.dwo into clean target and .gitignore
In reply to Petr VorelHi Petr,
I find that when I build LTP on certain self-build kernel, there will be .dwo file and .cache.mk file created. That's why I create this patch.
Yixin
Quoted 45 lines · Petr Vorel
Hi Yixin,
Quoted 4 lines
These files are generated during build, so and them into clean target and .gitignore
Signed-off-by Yixin Zhang <[email protected]>Tested-by Petr Vorel <[email protected]>Quoted 10 lines
--- .gitignore | 2 ++ include/mk/env_post.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-).gitignore +0
-0.gitignore core · line 12
Quoted 5 lines
.gitignore +2
-0@@ -8,6 +8,8 @@ core .gdb_history .gdbinit lib*.a +.cache.mk +*.dwoWe're not using DWARF object files (yet), but it doesn't harm to be prepared.
Quoted 7 lines
.gitignore +0
-0/aclocal.m4 autom4te.cacheinclude/mk/env_post.mk +0
-0include/mk/env_post.mk MAKE_TARGETS ?= $(notdir $(patsubst %.c,%,$(wildcard $(abs_srcdir)/*.c))) · line 60
Quoted 8 lines
include/mk/env_post.mk +1
-1@@ -54,7 +54,7 @@ MAKE_TARGETS ?= $(notdir $(patsubst %.c,%,$(wildcard $(abs_srcdir)/*.c))) MAKE_TARGETS := $(filter-out $(FILTER_OUT_MAKE_TARGETS),$(MAKE_TARGETS)) -CLEAN_TARGETS += $(MAKE_TARGETS) *.o *.pyc +CLEAN_TARGETS += $(MAKE_TARGETS) *.o *.pyc .cache.mk .*.dwo # Majority of the files end up in testcases/bin... INSTALL_DIR ?= testcases/binKind regards,
Petr