[prev in list] [next in list] [prev in thread] [next in thread] 

List:       live-patching
Subject:    Re: [PATCH v1 3/5] kbuild/modpost: integrate klp-convert
From:       Lukas Hruska <lhruska () suse ! cz>
Date:       2024-01-25 9:44:40
Message-ID: ZbItbbsYrKdWT_Ma () dhcp182 ! suse ! cz
[Download RAW message or body]

There is also a typo in Makefile which causes a modules.livepatch file
to be created in kernel sources even in case of building an external
module.

> diff --git a/Makefile b/Makefile
> index 2fdd8b40b7e0..459b9c9fe0a8 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1185,6 +1185,7 @@ PHONY += prepare0
>  export extmod_prefix = $(if $(KBUILD_EXTMOD),$(KBUILD_EXTMOD)/)
>  export MODORDER := $(extmod_prefix)modules.order
>  export MODULES_NSDEPS := $(extmod_prefix)modules.nsdeps
> +export MODULES_LIVEPATCH := $(extmod-prefix)modules.livepatch

This should be `$(extmod_prefix)`.

Best Regards,
Lukas

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic