Skip to contentSkip to conversation

make module_install

DISCUSSION Wolfgang Denk 1 participant 1 message Dec 17, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 000701c2a5e5$30b5a660$0700a8c0@pc005

#1 lore raw

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/