Hi Bhupesh,
Thank you for the quick response, applied.
https://github.com/crash-utility/crash/commit/cf421616241d06160a42552e9f4...
Kazu
-----Original Message-----
Hi Kazu,
On Mon, Nov 9, 2020 at 11:42 AM HAGIO KAZUHITO(萩尾 一仁)
<k-hagio-ab(a)nec.com> wrote:
>
> With Linux 5.4 and later kernels that contain commit
> 7e35b42591c058b91282f95ce3b2cf0c05ffe93d ("kbuild: remove SUBDIRS
> support"), "make" command in the memory_driver directory doesn't
> build crash memory driver module as expected. Add "M=" to fix.
>
> Signed-off-by: Kazuhito Hagio <k-hagio-ab(a)nec.com>
> ---
> memory_driver/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/memory_driver/Makefile b/memory_driver/Makefile
> index e84afe98ff24..b494aa3cd184 100644
> --- a/memory_driver/Makefile
> +++ b/memory_driver/Makefile
> @@ -10,6 +10,6 @@
> #
> obj-m := crash.o
> all:
> - make -C /lib/modules/`uname -r`/build SUBDIRS=${PWD} modules
> + make -C /lib/modules/`uname -r`/build M=${PWD} SUBDIRS=${PWD} modules
> clean:
> rm -f *.mod.c *.ko *.o Module.*
LGTM, so:
Acked-by: Bhupesh Sharma <bhsharma(a)redhat.com>
Thanks.