kbuild: adding symbols in Kconfig and defconfig to TAGS
authorMasatake YAMATO <jet@gyve.org>
Thu, 22 Jun 2006 03:21:20 +0000 (12:21 +0900)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sat, 24 Jun 2006 21:52:05 +0000 (23:52 +0200)
commite838db685fcfd2e9a0548ffc5cb9447e6c3c11be
tree980366e83c7bf2c9ece3f0ad77eb62dc8ee8fbc5
parent6803dc0ea85ad21b2cb3ec88decff5e27d7a390b
kbuild: adding symbols in Kconfig and defconfig to TAGS

I'm using TAGS generated from "make TAGS" to read the kernel source code.

When I met a ifdef block

  #ifdef CONFIG_FOO
    ...
  #endif

in the soruce code I would like to know the meaning CONFIG_FOO
to decide whether I should read inside the ifdef block
or not. meaning CONFIG_FOO is well documented in Kconfig.
So it is nice if I can jump to CONFIG_FOO entry in Kconfig
from "#ifdef CONFIG_FOO" with the tag jump.

Here is the patch to add symbols in Kconfig and defconfig to TAGS
in "make TAGS" operation.

Signed-off-by: Masatake YAMATO <jet@gyve.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile