commit: d8781d5edf104b0a6fc43f26c4d135ccada59b47 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Tue Oct 23 22:30:49 2018 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Tue Oct 23 22:30:49 2018 +0000 URL: https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=d8781d5e
rip-headers.sh: account for scripts/subarch.include in 4.19+ Patch-by: Tomáš Mózes Bug: https://bugs.gentoo.org/669388 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> rip-headers.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rip-headers.sh b/rip-headers.sh index 19efbd4..7c37991 100755 --- a/rip-headers.sh +++ b/rip-headers.sh @@ -45,6 +45,9 @@ cp -r \ ${src}/scripts/unifdef.c \ ${src}/scripts/*.{sh,pl} \ ${dst}/scripts/ +if [[ -f ${src}/scripts/subarch.include ]]; then + cp ${src}/scripts/subarch.include ${dst}/scripts/ +fi mkdir -p ${dst}/scripts/basic printf '#!/bin/sh\nexit 0' > ${dst}/scripts/basic/fixdep chmod a+rx ${dst}/scripts/basic/fixdep
