diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2012-10-12 13:20:56 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2012-10-12 13:20:56 +0000 |
commit | 4a45b8b5446e2233f54fa90bef6908a4e37cce81 (patch) | |
tree | 9014fdfa2595e920f440a07358ea86705af6dfe0 /eclass | |
parent | [sys-infiniband] OFED 3.5 rc2 update (diff) | |
download | historical-4a45b8b5446e2233f54fa90bef6908a4e37cce81.tar.gz historical-4a45b8b5446e2233f54fa90bef6908a4e37cce81.tar.bz2 historical-4a45b8b5446e2233f54fa90bef6908a4e37cce81.zip |
[eclass] update openib
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/openib.eclass | 13 |
2 files changed, 14 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 9cd10e37ebc6..da4a424912a8 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.438 2012/10/12 11:44:23 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.439 2012/10/12 13:20:56 alexxy Exp $ + + 12 Oct 2012; Alexey Shvetsov <alexxy@gentoo.org> openib.eclass: + [ofed] finalyze 3.5 12 Oct 2012; Alexey Shvetsov <alexxy@gentoo.org> openib.eclass: [openib] Update ofed versions diff --git a/eclass/openib.eclass b/eclass/openib.eclass index eba4f799208e..abb846cce5d7 100644 --- a/eclass/openib.eclass +++ b/eclass/openib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/openib.eclass,v 1.6 2012/10/12 11:44:23 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/openib.eclass,v 1.7 2012/10/12 13:20:56 alexxy Exp $ # @ECLASS: openib.eclass # @AUTHOR: @@ -56,13 +56,20 @@ block_other_ofed_versions() { done } -OFED_BASE_VER=$(get_version_component_range 1-3 ${OFED_VER}) +OFED_BASE_VER=$(get_version_component_range 1 '-' $(get_version_component_range 1-3 ${OFED_VER})) SRC_URI="http://www.openfabrics.org/downloads/OFED/ofed-${OFED_BASE_VER}/OFED-${OFED_VER}.tgz" case ${PN} in ofed) - MY_PN="ofa_kernel" + case ${PV} in + 1.5.*|1.5.*.*) + MY_PN="ofa_kernel" + ;; + *) + MY_PN="compat-rdma" + ;; + esac ;; *) MY_PN="${PN}" |