scripts/update-linux-header.sh: be more src tree friendly
commitb51ddd937f11f76614d4b36d14d8778df242661c
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 14 May 2024 17:42:44 +0000 (14 18:42 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 16 May 2024 07:47:01 +0000 (16 08:47 +0100)
tree98da00a546afc53760184a2c11d00b76ffb15f52
parent4985d876ee681368e86163637c1cbd3451d4c514
scripts/update-linux-header.sh: be more src tree friendly

Running "install_headers" in the Linux source tree is fairly
unfriendly as out-of-tree builds will start complaining about the
kernel source being non-pristine. As we have a temporary directory for
the install we should also do the build step here. So now we have:

  $tmpdir/
    $blddir/
    $hdrdir/

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-3-alex.bennee@linaro.org>
scripts/update-linux-headers.sh