scripts/update-linux-headers: Handle kernel license no longer being one file
commitf5bba4ca92b1fb9b6ff063895103a31d66ceac06
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 25 May 2018 13:27:52 +0000 (25 14:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 13:14:31 +0000 (1 15:14 +0200)
treebf1a64abea69fadd9924602674607aabe9ef0eb6
parentc5022c31c2b7be863a2f58ae5af52717e017825b
scripts/update-linux-headers: Handle kernel license no longer being one file

The kernel has changed its license documentation, so instead of COPYING
being a stand-alone file that defines the license, it refers to various
other files under LICENSES/. This means we need to copy not just COPYING
but also these other files to our copy of the kernel headers.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20180525132755.21839-4-peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/update-linux-headers.sh