diff options
author | 2018-04-14 19:01:13 +0000 | |
---|---|---|
committer | 2018-04-14 19:01:13 +0000 | |
commit | 05990c384c0ed36dd5ba87d73b1a84102188363e (patch) | |
tree | d68c2bb9a4ada3b938bc74a99c2b6e2c0c9d929b | |
parent | gcc/7.3.0: gcc/config.gcc: sh-*: Disable sysroot-suffix (PR42947) (diff) | |
download | gentoo-05990c384c0ed36dd5ba87d73b1a84102188363e.tar.gz gentoo-05990c384c0ed36dd5ba87d73b1a84102188363e.tar.bz2 gentoo-05990c384c0ed36dd5ba87d73b1a84102188363e.zip |
rip-headers.sh: add ripping of missing 'kernel/syscalls' directory for s390
-rw-r--r-- | src/patchsets/gentoo-headers/rip-headers.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/patchsets/gentoo-headers/rip-headers.sh b/src/patchsets/gentoo-headers/rip-headers.sh index 10b29308c8..78dce045fa 100644 --- a/src/patchsets/gentoo-headers/rip-headers.sh +++ b/src/patchsets/gentoo-headers/rip-headers.sh @@ -68,12 +68,12 @@ for a in ${arches} ; do done fi done -# handle x86 unique cruft +# handle x86 unique headers if [[ -e ${src}/arch/x86/entry/syscalls ]] ; then mkdir -p ${dst}/arch/x86/entry cp -r ${src}/arch/x86/entry/syscalls ${dst}/arch/x86/entry/ fi -# mips has some stupid unique bs +# mips has some unique headers as well if [[ -e ${src}/arch/mips/Kbuild.platforms ]] ; then for f in "${src}"/arch/mips/*/Platform ; do f=${f#${src}} @@ -85,6 +85,11 @@ if [[ -d ${src}/arch/mips/boot/tools ]] ; then mkdir -p ${dst}/arch/mips/boot cp -r ${src}/arch/mips/boot/tools ${dst}/arch/mips/boot/ fi +# s390 has special sauce starting from 4.16 +if [[ -d ${src}/arch/s390/kernel/syscalls ]] ; then + mkdir -p ${dst}/arch/s390/kernel + cp -r ${src}/arch/s390/kernel/syscalls ${dst}/arch/s390/kernel/ +fi find ${dst}/ -name .gitignore -delete cp README.ripped-headers rip-headers.sh ${dst}/ |