diff options
| -rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index b6f2dbc2b0..2fa4be67cc 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
| @@ -78,7 +78,7 @@ do_install() { | |||
| 78 | cp Module.markers $kerneldir/build | 78 | cp Module.markers $kerneldir/build |
| 79 | fi | 79 | fi |
| 80 | 80 | ||
| 81 | cp .config $kerneldir/build | 81 | cp -a .config $kerneldir/build |
| 82 | 82 | ||
| 83 | # This scripts copy blow up QA, so for now, we require a more | 83 | # This scripts copy blow up QA, so for now, we require a more |
| 84 | # complex 'make scripts' to restore these, versus copying them | 84 | # complex 'make scripts' to restore these, versus copying them |
| @@ -128,11 +128,12 @@ do_install() { | |||
| 128 | 128 | ||
| 129 | # extra files, just in case | 129 | # extra files, just in case |
| 130 | cp -a --parents tools/objtool/* $kerneldir/build/ | 130 | cp -a --parents tools/objtool/* $kerneldir/build/ |
| 131 | cp -a --parents tools/lib/str_error_r.c $kerneldir/build/ | 131 | cp -a --parents tools/lib/* $kerneldir/build/ |
| 132 | cp -a --parents tools/lib/string.c $kerneldir/build/ | ||
| 133 | cp -a --parents tools/lib/subcmd/* $kerneldir/build/ | 132 | cp -a --parents tools/lib/subcmd/* $kerneldir/build/ |
| 134 | 133 | ||
| 135 | cp -a --parents tools/include/* $kerneldir/build/ | 134 | cp -a --parents tools/include/* $kerneldir/build/ |
| 135 | |||
| 136 | cp -a --parents $(find tools/arch/${ARCH}/ -type f) $kerneldir/build/ | ||
| 136 | fi | 137 | fi |
| 137 | 138 | ||
| 138 | if [ "${ARCH}" = "arm64" ]; then | 139 | if [ "${ARCH}" = "arm64" ]; then |
| @@ -186,6 +187,7 @@ do_install() { | |||
| 186 | 187 | ||
| 187 | # required for generate missing syscalls prepare phase | 188 | # required for generate missing syscalls prepare phase |
| 188 | cp -a --parents $(find arch/x86 -type f -name "syscall_32.tbl") $kerneldir/build | 189 | cp -a --parents $(find arch/x86 -type f -name "syscall_32.tbl") $kerneldir/build |
| 190 | cp -a --parents $(find arch/arm -type f -name "*.tbl") $kerneldir/build | ||
| 189 | 191 | ||
| 190 | if [ "${ARCH}" = "x86" ]; then | 192 | if [ "${ARCH}" = "x86" ]; then |
| 191 | # files for 'make prepare' to succeed with kernel-devel | 193 | # files for 'make prepare' to succeed with kernel-devel |
