View previous topic :: View next topic |
Author |
Message |
Henning Apprentice
Joined: 08 Sep 2002 Posts: 196 Location: Braunschweig
|
Posted: Mon Nov 11, 2002 7:31 pm Post subject: Howto build modules with ebuild |
|
|
Hi,
I'm trying my second ebuild script.
First download an make is ok.
But when compiling by hand, I have to 'make install' to load the created drivers (modules).
With ebuild I have to copy the drives to a save place, because the work directory is deleted at the end of ebuild.
But how to copy the drives, and where to copy?
In my tests I get:
--------------------------- ACCESS VIOLATION SUMMARY -----------------
LOG FILE = "/tmp/sandbox-dvb-0.9.6-11216.log"
open_wr: /lib/modules/2.4.19-xfs-r1/kernel/drivers/media/video/alps_bsru6.o
Here my ebuild:
# Copyright 2002
# Distributed under the terms of the GNU General Public License, v2 or later
S=${WORKDIR}/linux-dvb.2002-11-01/
DESCRIPTION="DVB Driver for Siemens with SAA7136"
SRC_URI="ftp://ftp.cadsoft.de/vdr/Developer/linux-dvb.2002-11-01.tar.bz2"
HOMEPAGE="http://linuxdvb.org"
LICENSE="GPL"
src_unpack() {
unpack ${A} || die "unpack failed"
}
src_compile() {
cd ${S}driver
make || die "make failed with errors"
cd frontends
cp *.o /lib/modules/2.4.19-xfs-r1/kernel/drivers/media/video/
}
Hope you can help me solving this problem.
Thanks, Henning |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Nov 11, 2002 7:38 pm Post subject: |
|
|
Have a look at the nvidia-kernel ebuild. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|