Re: [PATCH v2 2/2] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-15 Thread Ard Biesheuvel
On Mon, 15 Jun 2020 at 16:15, Masahiro Yamada wrote: > > On Mon, Jun 15, 2020 at 7:41 PM Ard Biesheuvel wrote: > > > > On Mon, 15 Jun 2020 at 12:26, Ard Biesheuvel wrote: > > > > > > On Thu, 4 Jun 2020 at 04:20, Masahiro Yamada wrote: > > > > > > > > Documentation/kbuild/makefiles.rst says: >

Re: [PATCH v2 2/2] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-15 Thread Masahiro Yamada
On Mon, Jun 15, 2020 at 7:41 PM Ard Biesheuvel wrote: > > On Mon, 15 Jun 2020 at 12:26, Ard Biesheuvel wrote: > > > > On Thu, 4 Jun 2020 at 04:20, Masahiro Yamada wrote: > > > > > > Documentation/kbuild/makefiles.rst says: > > > > > > Use of lib-y is normally restricted to `lib/` and

Re: [PATCH v2 2/2] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-15 Thread Ard Biesheuvel
On Mon, 15 Jun 2020 at 12:26, Ard Biesheuvel wrote: > > On Thu, 4 Jun 2020 at 04:20, Masahiro Yamada wrote: > > > > Documentation/kbuild/makefiles.rst says: > > > > Use of lib-y is normally restricted to `lib/` and `arch/*/lib`. > > > > This is because lib-y is inteded to be hooked to

Re: [PATCH v2 2/2] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-15 Thread Ard Biesheuvel
On Thu, 4 Jun 2020 at 04:20, Masahiro Yamada wrote: > > Documentation/kbuild/makefiles.rst says: > > Use of lib-y is normally restricted to `lib/` and `arch/*/lib`. > > This is because lib-y is inteded to be hooked to KBUILD_VMLINUX_LIBS, > which is passed down to scripts/link-vmlinux.sh. > >

[PATCH v2 2/2] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-03 Thread Masahiro Yamada
Documentation/kbuild/makefiles.rst says: Use of lib-y is normally restricted to `lib/` and `arch/*/lib`. This is because lib-y is inteded to be hooked to KBUILD_VMLINUX_LIBS, which is passed down to scripts/link-vmlinux.sh. Besides, lib-y is not so interesting because objects from lib-y are