--- zzzz-none-000/linux-3.10.107/include/uapi/Kbuild 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/include/uapi/Kbuild 2021-02-04 17:41:59.000000000 +0000 @@ -12,3 +12,14 @@ header-y += drm/ header-y += xen/ header-y += scsi/ +header-y += misc/ + +avm_labile_headers += drivers/ + +# Check existence of avm_labile_headers ('wildcard' functions requires complete +# path, 'header-y' forbids absolute path names). +header-y += $(patsubst $(srctree)/include/uapi/%,%,\ + $(wildcard \ + $(addprefix $(srctree)/include/uapi/,\ + $(avm_labile_headers)))) +