ACK: [PATCH] efi_runtime: enable KBUILD_MODPOST_WARN=y to workaround build failures
ivanhu
ivan.hu at canonical.com
Mon Aug 5 09:46:11 UTC 2019
On 7/30/19 7:00 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> With newer kernels > 5.0, undefined variables now throw an error
> rather than a warning. Force the older warning behaviour so that
> dkms builds can pass ADT build testing.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> efi_runtime/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/efi_runtime/Makefile b/efi_runtime/Makefile
> index ae868675..6ba369ce 100644
> --- a/efi_runtime/Makefile
> +++ b/efi_runtime/Makefile
> @@ -17,6 +17,7 @@
> #
>
> KVER ?= `uname -r`
> +KBUILD_MODPOST_WARN=y
> obj-m += efi_runtime.o
> all:
> make -C /lib/modules/$(KVER)/build M=`pwd` modules
>
Thanks Colin,
Acked-by: Ivan Hu <ivan.hu at canonical.com>
More information about the fwts-devel
mailing list