building dependencies for kernel modules in cross compiling environment
I tried to execute depmod.pl with the following command:
$ depmod.pl \
> -k ./vmlinux -F ./System.map \
> -b ${PRJROOT}/images/modules-2.6.20/lib/modules > \
> ${PRJROOT}/images/modules-2.6.20/lib/modules/2.6.20/modules.dep
However the file path is different in my execution environment and it is valid for sure. The file path here i mean to say are for the files vmlinux, System.map , modules.dep and the folder path for modules are in a different location in my executing environment than this but i gave it correctly for sure.
it is giving error message as follows:
"depmod.pl : command not found" even though executable for perl is available and it's path was aleady added in the PATH ( /usr/bin/perl )env variable.
I have checked that the depmod.pl is made as executable in the file's properties.
I am trying this for cross compiled output files vmlinux and System.map and the depmod.pl file is taken from busybox 1.22.1 located in examples folder of busy box source.
Please let me know the reason why it is not building dependencies in modules.dep file.
|