Hello all,
not sure if this is the right place to post, here it goes anyway. I’m using R32.2.3 and usually develop video drivers. I configured vim for kernel development, however I’m having problems with the right cscope indexing. The file structure is as follows (it is the default setup default if I recall correctly):
tree within ~/TX2_workdir/R32_2_3/kernel_src
kernel_src
|-hardware
|
|-nvidia (a bunch of dts dirs in here)
|
|-kernel
|-kernel-4.9
|
|-nvgpu
|
|-nvidia
Automatic indexing, by means of tags.sh (make O=. ARCH=arm SUBARCH=armv8 COMPILED_SOURCE=1 cscope tags) from withing kernel-4.9 directory, provides with mapping that works within that directory only. As I try to edit video drivers within nvidia/drivers/media/i2c/
no cscope linkage is avaliable.
From what I understand, I have to do manual indexing as shown in cscope manual (Vim/Cscope tutorial), however I’m not sure which files to include. Does anyone have any pointers regarding cscope?
Best regards,
Jarek