--- zzzz-none-000/linux-4.4.271/include/uapi/Kbuild 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/include/uapi/Kbuild 2023-01-11 09:25:43.000000000 +0000 @@ -13,3 +13,13 @@ 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)))) +