/[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.23 Revision 1.24
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Technologies, Inc.
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.23 2004/01/26 17:46:57 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.24 2004/01/31 20:24:24 johnm 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>
364 KPATCH_DIR="" 364 KPATCH_DIR=""
365 for i in $(find ${x} -type d) 365 for i in $(find ${x} -type d)
366 do 366 do
367 KPATCH_DIR="${KPATCH_DIR} ${i}" 367 KPATCH_DIR="${KPATCH_DIR} ${i}"
368 done 368 done
369
370 # this is to ensure the returned list is sorted.
371 # this doesnt appear to happen in findutils in the current stable profile.
372 # inefficient and not very nice, but "thats life"
373 KPATCH_DIR="$(echo ${KPATCH_DIR} | sort -u)"
369 374
370 #so now lets get rid of the patchno's we want to exclude 375 #so now lets get rid of the patchno's we want to exclude
371 UNIPATCH_DROP="${UNIPATCH_EXCLUDE} ${UNIPATCH_DROP}" 376 UNIPATCH_DROP="${UNIPATCH_EXCLUDE} ${UNIPATCH_DROP}"
372 for i in ${UNIPATCH_DROP} 377 for i in ${UNIPATCH_DROP}
373 do 378 do

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20