Hello,
May someone advise me what would be the easiest way to modify a file in
a OE package and then to rebuild it?
When I modify a file in the work directory
(e.g.
build-arm/tmp/work/busybox-1.00-rc3-r2/busybox-1.00-rc3/modutils/modprobe.c) and then do "oemake busybox" it doesn't recompile the modified file.
If I just go to the
build-arm/tmp/work/busybox-1.00-rc3-r2/busybox-1.00-rc3 and do "make" it
compiles for i386 :-<
BTW, I may explain why I wanted to change modprobe.
Probably you have seen this error message trying to load a module:
"Using /lib/modules/2.6.8.1-hh0/kernel/drivers/base/soc-device.ko
insmod: cannot insert
`/lib/modules/2.6.8.1-hh0/kernel/drivers/base/soc-device.ko': File
exists (-1): File exists"
I assume that the reason is that there is no difference between '-' and
'_' symbols in module's names. It happens that kernel returns always '_'
in /proc/modules.
When busbox's modprobe process a request it first check if the module
has been already loaded comparing the file name ('soc-devices' in our
case) with the names of the loaded modules from /proc/modules (where
'soc-devices' is registered under 'soc_devices').
That's why it always tries to load soc-devices and fails up from the
second try.
So I wanted to check my assumption ....
regards,
Vadim
Received on Sun Sep 12 17:21:37 2004
This archive was generated by hypermail 2.1.8 : Sun Sep 12 2004 - 17:22:11 EDT