path: root/.gitconfig
diff options
authorTobias Klauser <>2018-02-13 10:41:26 +0100
committerTobias Klauser <>2018-02-13 10:41:26 +0100
commit89e1fdbca570dc46763fc15624cab85c2175460e (patch)
tree944c8c5f3338e78199940b1d8571a45cc344ea38 /.gitconfig
parentb2abffb7dcd4e921a5a38f7838db1bd470386624 (diff)
add global .gitignore to exclude vim cruft files
Diffstat (limited to '.gitconfig')
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 2fcc922..9ab43a9 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -6,6 +6,7 @@
abbrev = 12
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
+ excludesfile = /home/tobiask/.gitignore
co = checkout
pan title='2015-09-28 15:50:55 -0300'>2015-09-28tools build: Add fixdep dependency helperJiri Olsa1-0/+43 For dependency tracking we currently use targets that fall out of the gcc -MD command. We store this info in the .cmd file and include as makefile during the build. This format put object as target and all the c and header files as dependencies, like: util/abspath.o: util/abspath.c /usr/include/stdc-predef.h util/cache.h \ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ ... If any of those dependency header files (krava.h below) is removed the build fails on: make[1]: *** No rule to make target 'krava.h', needed by 'inc.o'. Stop. This patch adds fixdep helper, that is used by kbuild to alter the shape of the object dependencies like: source_util/abspath.o := util/abspath.c deps_util/abspath.o := \ /usr/include/stdc-predef.h \ util/cache.h \ ... util/abspath.o: $(deps_util/abspath.o) $(deps_util/abspath.o): With this format the header removal won't make the build fail, because it'll be picked up by the last empty target defined for each header. As previously mentioned the fixdep tool is taken from kbuild. It's not complete backport, only the part that alters the standard dependency info was taken, the part that adds the CONFIG_* dependency logic will be probably taken later on. Signed-off-by: Jiri Olsa <> Cc: David Ahern <> Cc: Kai Germaschewski <> Cc: Namhyung Kim <> Cc: Peter Zijlstra <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>