diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-24 07:08:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-11-24 07:08:40 +0000 |
commit | 8d3ae0ebeca4d4ffd15ffa37b388ffc488cb1c82 (patch) | |
tree | 0aeeb1f8fb621d85f845e7e19d6c201d40d7400a /rip-headers.sh | |
parent | initial 2.6.36 patchset based on last 2.6.35 patchset (diff) | |
download | linux-headers-patches-8d3ae0ebeca4d4ffd15ffa37b388ffc488cb1c82.tar.gz linux-headers-patches-8d3ae0ebeca4d4ffd15ffa37b388ffc488cb1c82.tar.bz2 linux-headers-patches-8d3ae0ebeca4d4ffd15ffa37b388ffc488cb1c82.zip |
pull in more arch supplemental files, including crap just for mips #346591
Diffstat (limited to 'rip-headers.sh')
-rwxr-xr-x | rip-headers.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rip-headers.sh b/rip-headers.sh index 6d0468b..1f14b66 100755 --- a/rip-headers.sh +++ b/rip-headers.sh @@ -40,11 +40,20 @@ for a in ${arches} ; do if [[ -e ${src}/include/asm-${a}/Kbuild ]] || [[ -e ${src}/arch/${a}/include/asm/Kbuild ]] ; then mkdir -p ${dst}/arch/${a} cp ${src}/arch/${a}/Makefile* ${dst}/arch/${a}/ + cp ${src}/arch/${a}/Kbuild* ${dst}/arch/${a}/ 2>/dev/null || : if [[ -e ${src}/arch/${a}/include ]] ; then cp -r ${src}/arch/${a}/include ${dst}/arch/${a}/ fi fi done +# mips has some stupid unique bs +if [[ -e ${src}/arch/mips/Kbuild.platforms ]] ; then + for f in "${src}"/arch/mips/*/Platform ; do + f=${f#${src}} + mkdir ${dst}/${f%/*} + cp ${src}/${f} ${dst}/${f} + done +fi cp README.ripped-headers rip-headers.sh ${dst}/ |