]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/gdb: rebuild constants.py on dependancy change
authorKieran Bingham <kieran@ksquared.org.uk>
Thu, 14 Jul 2016 19:06:58 +0000 (12:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jul 2016 05:54:27 +0000 (14:54 +0900)
commit17637a90e9703567cada668d0e2e3160ce6834e5
tree430bdcdb0d6be8c8057598c7a426df608d497041
parentcfe1d8697fbc3e9bfd7d1bbab2b6da7490ae0b9b
scripts/gdb: rebuild constants.py on dependancy change

The autogenerated constants.py file was only being built on the initial
call, and if the constants.py.in file changed.  As we are utilising the
CPP hooks, we can successfully use the call if_changed_dep rules to
determine when to rebuild the file based on it's inclusions.

Link: http://lkml.kernel.org/r/1467127337-11135-3-git-send-email-kieran@bingham.xyz
Signed-off-by: Kieran Bingham <kieran@bingham.xyz>
Reported-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/Makefile