Skip to content

Commit

Permalink
scripts/gdb: silence 'nothing to do' message
Browse files Browse the repository at this point in the history
The constants.py generation, involves a rule to link into the main
makefile.  This rule has no command and generates a spurious warning
message in the build logs when CONFIG_SCRIPTS_GDB is enabled.

Fix simply by giving a no-op action

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Kieran Bingham <[email protected]>
Reported-by: Jan Kiszka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Kieran Bingham authored and torvalds committed Jul 15, 2016
1 parent 2ba7805 commit abb035b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/gdb/linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ $(obj)/constants.py: $(SRCTREE)/$(obj)/constants.py.in
$(call if_changed,gen_constants_py)

build_constants_py: $(obj)/constants.py
@:

clean-files := *.pyc *.pyo $(if $(KBUILD_SRC),*.py) $(obj)/constants.py

0 comments on commit abb035b

Please sign in to comment.