update-linux-headers: Include const.h

Kernel commit a85cbe6159ff ("uapi: move constants from
<linux/kernel.h> to <linux/const.h>") breaks our script
because of the unrecognized include. Let's add that to
our processing.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210104202057.48048-2-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
This commit is contained in:
Eric Farman 2021-01-04 21:20:55 +01:00 committed by Cornelia Huck
parent e312fa1d78
commit ab5ec23f9c

View File

@ -41,6 +41,7 @@ cp_portable() {
-e 'pvrdma_verbs' \ -e 'pvrdma_verbs' \
-e 'drm.h' \ -e 'drm.h' \
-e 'limits' \ -e 'limits' \
-e 'linux/const' \
-e 'linux/kernel' \ -e 'linux/kernel' \
-e 'linux/sysinfo' \ -e 'linux/sysinfo' \
-e 'asm-generic/kvm_para' \ -e 'asm-generic/kvm_para' \
@ -190,7 +191,9 @@ for i in "$tmpdir"/include/linux/*virtio*.h \
"$tmpdir/include/linux/input.h" \ "$tmpdir/include/linux/input.h" \
"$tmpdir/include/linux/input-event-codes.h" \ "$tmpdir/include/linux/input-event-codes.h" \
"$tmpdir/include/linux/pci_regs.h" \ "$tmpdir/include/linux/pci_regs.h" \
"$tmpdir/include/linux/ethtool.h" "$tmpdir/include/linux/kernel.h" \ "$tmpdir/include/linux/ethtool.h" \
"$tmpdir/include/linux/const.h" \
"$tmpdir/include/linux/kernel.h" \
"$tmpdir/include/linux/vhost_types.h" \ "$tmpdir/include/linux/vhost_types.h" \
"$tmpdir/include/linux/sysinfo.h"; do "$tmpdir/include/linux/sysinfo.h"; do
cp_portable "$i" "$output/include/standard-headers/linux" cp_portable "$i" "$output/include/standard-headers/linux"