/[gentoo-x86]/eclass/openib.eclass
Gentoo

Diff of /eclass/openib.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/openib.eclass,v 1.6 2012/10/12 11:44:23 alexxy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/openib.eclass,v 1.7 2012/10/12 13:20:56 alexxy Exp $
4 4
5# @ECLASS: openib.eclass 5# @ECLASS: openib.eclass
6# @AUTHOR: 6# @AUTHOR:
7# Original Author: Alexey Shvetsov <alexxy@gentoo.org> 7# Original Author: Alexey Shvetsov <alexxy@gentoo.org>
8# @BLURB: Simplify working with OFED packages 8# @BLURB: Simplify working with OFED packages
54 RDEPEDN+=" !sys-infiniband/${PN}:${slot}" 54 RDEPEDN+=" !sys-infiniband/${PN}:${slot}"
55 fi 55 fi
56 done 56 done
57} 57}
58 58
59OFED_BASE_VER=$(get_version_component_range 1-3 ${OFED_VER}) 59OFED_BASE_VER=$(get_version_component_range 1 '-' $(get_version_component_range 1-3 ${OFED_VER}))
60 60
61SRC_URI="http://www.openfabrics.org/downloads/OFED/ofed-${OFED_BASE_VER}/OFED-${OFED_VER}.tgz" 61SRC_URI="http://www.openfabrics.org/downloads/OFED/ofed-${OFED_BASE_VER}/OFED-${OFED_VER}.tgz"
62 62
63case ${PN} in 63case ${PN} in
64 ofed) 64 ofed)
65 case ${PV} in
66 1.5.*|1.5.*.*)
65 MY_PN="ofa_kernel" 67 MY_PN="ofa_kernel"
68 ;;
69 *)
70 MY_PN="compat-rdma"
71 ;;
72 esac
66 ;; 73 ;;
67 *) 74 *)
68 MY_PN="${PN}" 75 MY_PN="${PN}"
69 ;; 76 ;;
70esac 77esac

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20