Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gentoo-headers: rip-headers.sh
Date: Tue, 10 Jul 2012 08:02:11
Message-Id: 20120710080154.8BAE120063@flycatcher.gentoo.org
1 vapier 12/07/10 08:01:53
2
3 Modified: rip-headers.sh
4 Log:
5 extract tools dir used with newer kernels
6
7 Revision Changes Path
8 1.9 src/patchsets/gentoo-headers/rip-headers.sh
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?rev=1.9&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?rev=1.9&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?r1=1.8&r2=1.9
13
14 Index: rip-headers.sh
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/src/patchsets/gentoo-headers/rip-headers.sh,v
17 retrieving revision 1.8
18 retrieving revision 1.9
19 diff -u -r1.8 -r1.9
20 --- rip-headers.sh 2 Apr 2012 06:02:14 -0000 1.8
21 +++ rip-headers.sh 10 Jul 2012 08:01:53 -0000 1.9
22 @@ -34,6 +34,12 @@
23 printf '#!/bin/sh\nexit 0' > ${dst}/scripts/basic/fixdep
24 chmod a+rx ${dst}/scripts/basic/fixdep
25 touch ${dst}/scripts/basic/Makefile
26 +
27 +mkdir ${dst}/tools
28 +cp -r \
29 + ${src}/tools/include \
30 + ${dst}/tools/
31 +
32 mkdir ${dst}/arch
33 arches=$(cd ${src}/arch ; ls)
34 for a in ${arches} ; do
35 @@ -41,7 +47,7 @@
36 mkdir -p ${dst}/arch/${a}
37 cp ${src}/arch/${a}/Makefile* ${dst}/arch/${a}/
38 cp ${src}/arch/${a}/Kbuild* ${dst}/arch/${a}/ 2>/dev/null || :
39 - for d in include syscalls ; do
40 + for d in include syscalls tools ; do
41 if [[ -e ${src}/arch/${a}/${d} ]] ; then
42 cp -r ${src}/arch/${a}/${d} ${dst}/arch/${a}/
43 fi