Messages in this thread |  | | | Date | Mon, 17 Nov 2003 21:33:36 +0100 | | From | Sam Ravnborg <> | | Subject | Re: HOWTO build modules in 2.6.0 ... |
| |
On Mon, Nov 17, 2003 at 08:00:50PM +0100, Wojciech 'Sas' Cieciwa wrote: > > Hi, > > How can I build kernel modele from other package without root, or copying > all from /usr/scr/linux/ ?? > When I try build kernel module from user i got error, > > [...] > make[1]: Leaving directory `/users/cieciwa/rpm/BUILD/eagle-1.0.4/driver' > /usr/bin/make -C /usr/src/linux SUBDIRS=`pwd` modules; > make[1]: Entering directory `/usr/src/linux-2.6.0' > HOSTCC scripts/fixdep > cc1: Permission denied: opening dependency file scripts/.fixdep.d
Hi Sas. What you really need is the possibility to specify an alternate location for output files.
Use the following: make -C /usr/src/linux SUBDIRS=`pwd` O=/users/cieciwa/rpm/BUILD/eagle-1.0.4/linux modules
O=/users/cieciwa/rpm/BUILD/eagle-1.0.4/linux tell kbuild to locate all files in the specified directory, which must exist. This is also the location of .config, so make sure to copy that one over.
Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |