diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-01 20:53:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-03-01 20:53:25 +0000 |
commit | bfbb540b812c5ace75a82d6a757b75a7371145e7 (patch) | |
tree | 085b5fe62a09062488ad38d7d872ce25f67634c3 /dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild | |
parent | remove old (diff) | |
download | gentoo-2-bfbb540b812c5ace75a82d6a757b75a7371145e7.tar.gz gentoo-2-bfbb540b812c5ace75a82d6a757b75a7371145e7.tar.bz2 gentoo-2-bfbb540b812c5ace75a82d6a757b75a7371145e7.zip |
Delay BUILD_PARAMS setup until src_compile since it uses $KV_DIR #211924 by Michael Cramer.
(Portage version: 2.2_pre2)
Diffstat (limited to 'dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild')
-rw-r--r-- | dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild b/dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild index 8b6fa387d5b2..957ccba1d833 100644 --- a/dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild +++ b/dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild,v 1.3 2008/02/28 18:30:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/linux-fusion/linux-fusion-7.0.1.ebuild,v 1.4 2008/03/01 20:53:25 vapier Exp $ inherit eutils linux-mod @@ -15,7 +15,6 @@ IUSE="" MODULE_NAMES="fusion(drivers/char:${S}/linux/drivers/char/fusion)" BUILD_TARGETS="modules" -BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}/linux/drivers/char/fusion CONFIG_FUSION_DEVICE=m EXTRA_CFLAGS=-I${S}/linux/include" MODULESD_REALTIME_DOCS="AUTHORS ChangeLog README" src_unpack() { @@ -24,6 +23,11 @@ src_unpack() { ln -s Makefile-2.6 Makefile } +src_compile() { + BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}/linux/drivers/char/fusion CONFIG_FUSION_DEVICE=m EXTRA_CFLAGS=-I${S}/linux/include" + linux-mod_src_compile +} + src_install() { linux-mod_src_install insinto /usr/include/linux |