From: Eric Farman Date: Mon, 4 Jan 2021 20:20:55 +0000 (+0100) Subject: update-linux-headers: Include const.h X-Git-Tag: upstream/5.2.0~131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=853e60b7dd525c747cdb78a870397fe13f639546;p=platform%2Fupstream%2Fqemu.git update-linux-headers: Include const.h Git-commit: ab5ec23f9cc25215c1281d575c07c0f35e8e9e26 References: bsc#1183634 Kernel commit a85cbe6159ff ("uapi: move constants from to ") breaks our script because of the unrecognized include. Let's add that to our processing. Signed-off-by: Eric Farman Reviewed-by: Peter Xu Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210104202057.48048-2-farman@linux.ibm.com> Signed-off-by: Cornelia Huck Signed-off-by: Bruce Rogers --- diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 9efbaf2..fa6f2b6 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update-linux-headers.sh @@ -41,6 +41,7 @@ cp_portable() { -e 'pvrdma_verbs' \ -e 'drm.h' \ -e 'limits' \ + -e 'linux/const' \ -e 'linux/kernel' \ -e 'linux/sysinfo' \ -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-event-codes.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/sysinfo.h"; do cp_portable "$i" "$output/include/standard-headers/linux"