Gentoo Archives: gentoo-dev

From: Daniel Drake <dsd@g.o>
To: gentoo-dev@l.g.o
Cc: xmerlin@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd: ChangeLog drbd-8.0.6.ebuild
Date: Sun, 23 Sep 2007 09:37:22
Message-Id: 46F63089.7040109@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd: ChangeLog drbd-8.0.6.ebuild by Donnie Berkholz
1 Donnie Berkholz wrote:
2 >> cd ${S}
3 >
4 >> cp -R /usr/src/linux-${KV} ${WORKDIR}
5 >> emake -j1 KDIR=/${WORKDIR}/linux-${KV} O=${KBUILD_OUTPUT} || die "compile problem"
6
7 This is not the way that linux-mod is intended to be used. You should be
8 setting MODULE_NAMES, BUILD_PARAMS, BUILD_TARGETS, etc. Then
9 linux_mod_src_compile and src_install will handle compilation and
10 installation of the module.
11
12 Look at coda-kernel for a simple example.
13
14 Daniel
15
16 --
17 gentoo-dev@g.o mailing list