make module_install
Dear Gianfranco,
Quoted 3 lines · in message <000701c2a5e5$30b5a660$0700a8c0@pc005> you wrote:
I have implemented a loadable driver and I have compiled the source code with the command "make modules". When I try to run the install script with
OK so far.
Quoted 1 line
the command "make
modules_install" it exits with the following message:
This is wrong; it will try to install the modules not on your target filesystem, but on your development host, and (if you're running as root and the copy actually succeeds - which is another mistake: never do such things as root!) your development host's "depmod" will complain.
You should pass a "INSTALL_MOD_PATH=<target_dir>" parameter to your make command, something like
make modules_install INSTALL_MOD_PATH=/opt/eldk/ppc_8xx
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] There are three ways to get something done: do it yourself, hire someone, or forbid your kids to do it.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/