/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

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

Revision 1.43 Revision 1.44
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/kernel-2.eclass,v 1.43 2004/08/25 22:53:24 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.44 2004/09/11 23:26:16 agriffis Exp $
4 4
5# kernel.eclass rewrite for a clean base regarding the 2.6 series of kernel 5# kernel.eclass rewrite for a clean base regarding the 2.6 series of kernel
6# with back-compatibility for 2.4 6# with back-compatibility for 2.4
7# 7#
8# Author: John Mylchreest <johnm@gentoo.org> 8# Author: John Mylchreest <johnm@gentoo.org>
644 for LOOP_ARCH in ${ALL_ARCH} 644 for LOOP_ARCH in ${ALL_ARCH}
645 do 645 do
646 COMPAT_URI="${LOOP_ARCH}_URI" 646 COMPAT_URI="${LOOP_ARCH}_URI"
647 COMPAT_URI="${!COMPAT_URI}" 647 COMPAT_URI="${!COMPAT_URI}"
648 648
649 [ -n "${COMPAT_URI}" ] && ARCH_URI="${ARCH_URI} $(echo ${LOOP_ARCH} | tr [A-Z] [a-z])? ( ${COMPAT_URI} )" 649 [ -n "${COMPAT_URI}" ] && ARCH_URI="${ARCH_URI} $(echo ${LOOP_ARCH} | tr '[:upper:]' '[:lower:]')? ( ${COMPAT_URI} )"
650 650
651 if [ "${LOOP_ARCH}" == "$(echo ${ARCH} | tr [a-z] [A-Z])" ] 651 if [ "${LOOP_ARCH}" == "$(echo ${ARCH} | tr '[:lower:]' '[:upper:]')" ]
652 then 652 then
653 for i in ${COMPAT_URI} 653 for i in ${COMPAT_URI}
654 do 654 do
655 ARCH_PATCH="${ARCH_PATCH} ${DISTDIR}/${i/*\//}" 655 ARCH_PATCH="${ARCH_PATCH} ${DISTDIR}/${i/*\//}"
656 done 656 done

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.20